From: Ximin Luo Date: Mon, 30 Jul 2018 11:18:06 +0000 (-0700) Subject: Fix cwd in build.sh X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c7386c9392cbfd652f77e716168ab1b8f8aa218a;p=debcargo-conf.git Fix cwd in build.sh --- diff --git a/build.sh b/build.sh index 1035daf69..ce5681c73 100755 --- a/build.sh +++ b/build.sh @@ -52,7 +52,7 @@ check_build_deps() { apt-cache dumpavail | \ sed -e 's/Package: .*/\0\nStatus: install ok installed/g' > dpkg-dummy/status fi - cd "$PKGNAME" && dpkg-checkbuilddeps --admindir=../dpkg-dummy + ( cd "$PKGNAME" && dpkg-checkbuilddeps --admindir=../dpkg-dummy ) } if ! check_build_deps; then