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