aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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