From e5a9c52a20f4cb4a2cfd27b3be1e7f9c0d977dc9 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 17 Mar 2009 00:55:58 +0000 Subject: 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 --- debian/changelog | 4 ++++ debootstrap | 3 +++ 2 files changed, 7 insertions(+) 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 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 -- cgit v0.12