summaryrefslogtreecommitdiffstats
path: root/debootstrap
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-03-17 00:55:58 (GMT)
committerColin Watson <cjwatson@debian.org>2009-03-17 00:55:58 (GMT)
commite5a9c52a20f4cb4a2cfd27b3be1e7f9c0d977dc9 (patch)
tree49f1123a4919eee09c13ca7815d1bea275b271bc /debootstrap
parenta0c5fb489dacf4cb50b28c180aa35e3dfc38bdd3 (diff)
downloaddebootstrap-e5a9c52a20f4cb4a2cfd27b3be1e7f9c0d977dc9.zip
debootstrap-e5a9c52a20f4cb4a2cfd27b3be1e7f9c0d977dc9.tar.gz
debootstrap-e5a9c52a20f4cb4a2cfd27b3be1e7f9c0d977dc9.tar.bz2
Export PATH, just to make sure. It isn't necessarily exported by shells
running from init=/bin/sh or similar, and the upstream bash maintainer is unwilling to export it by default; it's easy enough to do so here (LP: #320188). r57849
Diffstat (limited to 'debootstrap')
-rwxr-xr-xdebootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/debootstrap b/debootstrap
index 9c81b91..cde6d9c 100755
--- a/debootstrap
+++ b/debootstrap
@@ -4,6 +4,9 @@ VERSION='@VERSION@'
unset TMP TEMP TMPDIR || true
+# might not be exported if we're running from init=/bin/sh or similar
+export PATH
+
###########################################################################
if [ "$DEBOOTSTRAP_DIR" = "" ]; then