aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-user-mode-linux
diff options
context:
space:
mode:
authordancer <dancer>2005-06-25 06:27:42 +0000
committerdancer <dancer>2005-06-25 06:27:42 +0000
commit6a6401128d9b2600b5a191e956e18d17de5c9792 (patch)
tree6c97d3c01a3d4dc71e17c61d3b4095146d9b3533 /pbuilder-user-mode-linux
parent6e9ce73824d8dd5ebc5fa67cf52824cba738f95c (diff)
downloadpbuilder-6a6401128d9b2600b5a191e956e18d17de5c9792.tar
pbuilder-6a6401128d9b2600b5a191e956e18d17de5c9792.tar.gz
+2005-06-25 Junichi Uekawa <dancer@debian.org>
+ + * pbuilder-user-mode-linux: use configured PATH instead of hard-coded PATH. + + * pbuilder-buildpackage: preserve PATH in su, + pass -p option. This fixes the problem with env-var preservation. +
Diffstat (limited to 'pbuilder-user-mode-linux')
-rwxr-xr-xpbuilder-user-mode-linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-user-mode-linux b/pbuilder-user-mode-linux
index ed60584..6d8c1d8 100755
--- a/pbuilder-user-mode-linux
+++ b/pbuilder-user-mode-linux
@@ -106,7 +106,7 @@ chmod a+x ${UML_CHROOT_MOUNTPOINT}/tmp/chrootshell
chroot ${UML_CHROOT_MOUNTPOINT} /tmp/chrootshell
#some variables need to be set from outside values, possibly
-export PATH=/sbin:/bin:/usr/sbin:/usr/bin
+export PATH="$PATH"
export TMPDIR=/tmp
unset EXTRAOPT || true
declare -a EXTRAOPT