From: Adam Dickmeiss Date: Wed, 19 Aug 2015 15:51:39 +0000 (+0000) Subject: Add sudo to call of id-pbuild-root.sh X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=06ac759fcd8623a1cc3b8cf1d52435645e8aefe3;p=git-tools-moved-to-github.git Add sudo to call of id-pbuild-root.sh --- diff --git a/id-deb-build/id-pbuild.sh b/id-deb-build/id-pbuild.sh index 2d588b1..5372897 100755 --- a/id-deb-build/id-pbuild.sh +++ b/id-deb-build/id-pbuild.sh @@ -238,7 +238,7 @@ if $debian; then cat ${ID_DEB_BUILD}/pbuilderrc > ~/.pbuilderrc for dist in ${DEBIAN_DIST} ${UBUNTU_DIST}; do for arch in ${USE_ARCHS}; do - ${ID_DEB_BUILD}/id-pbuild-root.sh --update=$update --dsc=$DSC --arch=$arch --dist=$dist & + sudo ${ID_DEB_BUILD}/id-pbuild-root.sh --update=$update --dsc=$DSC --arch=$arch --dist=$dist & i=`expr $i + 1` if test $i -ge $concurrency; then i=0