From ac2d34b37cb7467ba143c62e8178a9a1ab67db76 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 13 Jan 2009 18:53:42 +0000 Subject: Fix --make-tarball= option (closes: #484869). r57239 --- debian/changelog | 1 + debootstrap | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index cb162de..e1df0c9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ debootstrap (1.0.11) UNRELEASED; urgency=low * Add (Ubuntu) jaunty as a symlink to gutsy. * Clarify that --second-stage is needed to complete the bootstrapping process after --foreign. + * Fix --make-tarball= option (closes: #484869). -- Colin Watson Fri, 31 Oct 2008 13:37:01 +0000 diff --git a/debootstrap b/debootstrap index 0e1b10e..bb85db4 100755 --- a/debootstrap +++ b/debootstrap @@ -172,8 +172,8 @@ if [ $# != 0 ] ; then if [ "$1" = "--make-tarball" -a -n "$2" ] ; then MAKE_TARBALL="$2" shift 2 - elif [ "$1" != "${1#--mnake-tarball=}" ]; then - MAKE_TARBALL="${1#--mnake-tarball=}" + elif [ "$1" != "${1#--make-tarball=}" ]; then + MAKE_TARBALL="${1#--make-tarball=}" shift else error 1 NEEDARG "option requires an argument %s" "$1" -- cgit v0.12