diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-14 18:33:39 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-14 18:33:39 +0000 |
commit | fb76f5158450f988f1def4ef6bb994840a530513 (patch) | |
tree | 2ec8632b18013f780f5bcbd4118e3c9ecbd27492 /pbuilder-buildpackage | |
parent | a60fed7f9f773368c1adcf0f0784972889dd728a (diff) | |
download | pbuilder-fb76f5158450f988f1def4ef6bb994840a530513.tar pbuilder-fb76f5158450f988f1def4ef6bb994840a530513.tar.gz |
pbuilder-buildpackage: only override HOME during dpkg-buildpackage invocation
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-x | pbuilder-buildpackage | 4 |
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 |