Use dpkg-buildpackage -rfakeroot option to only run the parts of the
package generation process which require (fake)root privileges under
fakeroot. (e.g. debian/rules build should not be run as root.)
---
debian/nightly_build.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/debian/nightly_build.sh b/debian/nightly_build.sh
index 795c365..c0d3597 100755
--- a/debian/nightly_build.sh
+++ b/debian/nightly_build.sh
@@ -78,7 +78,7 @@ doBuild() {
if [ -n "${WM_GPG_KEY}" ]; then
ARGS="-k${WM_GPG_KEY}"
fi
- fakeroot dpkg-buildpackage $ARGS >>${BUILDLOG} 2>&1
+ dpkg-buildpackage -rfakeroot $ARGS >>${BUILDLOG} 2>&1
}
install -d `dirname $BUILDLOG`
--
1.7.1
--
To unsubscribe, send mail to [email protected].