diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debootstrap | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 32e1f32..9018bef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ debootstrap (0.4.0) UNRELEASED; urgency=low * Add Joey, Frans and Junichi as uploaders, remove JHM (not in the d-i group). * Make pkgdetails.c not need C99 extensions. (Closes: Bug#398977) + * Fix am_doing_phase implementation in debootstrap script. Thanks to + Tero Janka for spotting the problem and the fix. (Closes: Bug#409881) [ Joey Hess ] * Drop support for sarge from the udeb. diff --git a/debootstrap b/debootstrap index 2156d31..2c7b891 100644 --- a/debootstrap +++ b/debootstrap @@ -44,7 +44,7 @@ am_doing_phase () { # usage: if am_doing_phase finddebs; then ...; fi local x; for x in "$@"; do - if echo " $WHAT_TO_DO " | grep -q " $1 "; then return 0; fi + if echo " $WHAT_TO_DO " | grep -q " $x "; then return 0; fi done return 1 } |