From 6a6401128d9b2600b5a191e956e18d17de5c9792 Mon Sep 17 00:00:00 2001 From: dancer Date: Sat, 25 Jun 2005 06:27:42 +0000 Subject: +2005-06-25 Junichi Uekawa + + * 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. + --- pbuilder-user-mode-linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbuilder-user-mode-linux') 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 -- cgit v1.2.3