aboutsummaryrefslogtreecommitdiff
path: root/pdebuild-internal
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-10-07 08:39:16 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-10-07 08:39:16 +0000
commit6139042f4c379835a2372da6545abff07237d34c (patch)
tree77e1acb00eb87989a6efaf4af92f5bc16c49e839 /pdebuild-internal
parente827f5094ed4b833cfc1c06c736c130521d6d226 (diff)
downloadpbuilder-6139042f4c379835a2372da6545abff07237d34c.tar
pbuilder-6139042f4c379835a2372da6545abff07237d34c.tar.gz
pdebuild-internal: carry on PATH when calling dpkg-buildpackage
So, for example, ccache continues to work Thanks: Matthias Förste <foerste@schlittermann.de> for the patch Closes: #716680
Diffstat (limited to 'pdebuild-internal')
-rw-r--r--pdebuild-internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdebuild-internal b/pdebuild-internal
index 0c4fb99..7056464 100644
--- a/pdebuild-internal
+++ b/pdebuild-internal
@@ -121,7 +121,7 @@ executehooks "A"
# do build with that user.
# $DEBBUILDOPTS is evaluated inside the su and chroot.
export DEBBUILDOPTS
-CMD="/usr/bin/dpkg-buildpackage -rfakeroot -us -uc "'${DEBBUILDOPTS}'
+CMD="env PATH=$PATH /usr/bin/dpkg-buildpackage -rfakeroot -us -uc "'${DEBBUILDOPTS}'
echo "I: Running $CMD"
# This command should be ran with current directory as bind-mounted
# package source directory