summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--debian/changelog4
-rwxr-xr-xdebootstrap3
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 505b75d..1fc1141 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,10 @@ debootstrap (1.0.12) UNRELEASED; urgency=low
pile of infrastructure and some non-trivial patches, plus arranging to
copy all the translations over from base-installer, and it just doesn't
seem worth it, so lose the cruft (LP: #188690).
+ * 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).
-- Otavio Salvador <otavio@ossystems.com.br> Mon, 16 Mar 2009 09:02:49 -0300
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