From 06ac759fcd8623a1cc3b8cf1d52435645e8aefe3 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 19 Aug 2015 15:51:39 +0000 Subject: [PATCH] Add sudo to call of id-pbuild-root.sh --- id-deb-build/id-pbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4