1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 22:28:02 +01:00

do not run complete debian build under fakeroot

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.)
This commit is contained in:
Andreas Metzler
2010-08-16 16:29:40 +02:00
committed by Carlos R. Mafra
parent fef3ee5742
commit 1150f741ec

View File

@@ -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`