aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder-buildpackage4
1 files changed, 1 insertions, 3 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 310658a..dd99ccc 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -76,8 +76,6 @@ esac
BUILDRESULTUID="${BUILDRESULTUID:-${SUDO_UID:-0}}"
BUILDRESULTGID="${BUILDRESULTGID:-${SUDO_GID:-0}}"
-export HOME="$BUILD_HOME"
-
echobacktime
extractbuildplace
trap umountproc_cleanbuildplace_trap exit sighup sigpipe
@@ -145,7 +143,7 @@ log "I: Building the package"
executehooks "A"
-DPKG_COMMANDLINE="env PATH=\"$PATH\" dpkg-buildpackage -us -uc $DEBBUILDOPTS"
+DPKG_COMMANDLINE="env PATH=\"$PATH\" HOME=\"$BUILD_HOME\" dpkg-buildpackage -us -uc $DEBBUILDOPTS"
# https://launchpad.net/bugs/816556
unset DISPLAY