summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-01-13 18:53:42 +0000
committerColin Watson <cjwatson@debian.org>2009-01-13 18:53:42 +0000
commitac2d34b37cb7467ba143c62e8178a9a1ab67db76 (patch)
treed6640397b613e76b8eec652724601f3868f8f064
parentd7cf419e82ed61ab220528daf1c94e764e0b1230 (diff)
downloaddebootstrap-ac2d34b37cb7467ba143c62e8178a9a1ab67db76.tar.gz
Fix --make-tarball= option (closes: #484869).
r57239
-rw-r--r--debian/changelog1
-rwxr-xr-xdebootstrap4
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 <cjwatson@ubuntu.com> 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"