From 036557c8c0d4da21fd01aa6d70e782f6934a4071 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sat, 24 Oct 2009 20:53:31 +0000 Subject: abuild: make it possible override fakeroot --- abuild.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/abuild.in b/abuild.in index c6f85c1..c7772b6 100755 --- a/abuild.in +++ b/abuild.in @@ -19,6 +19,7 @@ abuild_path=$(readlink -f $0) # defaults BUILD_BASE="build-base" SUDO=${SUDO:-"sudo"} +FAKEROOT=${FAKEROOT:-"fakeroot"} # read config ABUILD_CONF=${ABUILD_CONF:-"$sysconfdir/abuild.conf"} @@ -329,7 +330,7 @@ prepare_metafiles() { echo "# Generated by $(basename $0) $abuild_ver" >"$pkginfo" if [ -n "$FAKEROOTKEY" ]; then - echo "# using $(fakeroot -v)" >> "$pkginfo" + echo "# using $($FAKEROOT -v)" >> "$pkginfo" fi echo "# $(date -u)" >> "$pkginfo" cat >> "$pkginfo" <