From 7c99375d70d8239b6cd0a6ecb6dab33dd66581cf Mon Sep 17 00:00:00 2001 From: Miguel Figueiredo Date: Tue, 4 Jan 2011 21:55:54 +0000 Subject: fix to --private-key. Thanks to Jonathan Klee r66195 --- debian/changelog | 8 ++++++++ debootstrap | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6bd57b2..d5b3219 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +debootstrap (1.0.27) unreleased; urgency=low + + [ Miguel Figueiredo ] + * Fix bug and typo on --private-key + Patch by Jonathan Klee. + + -- Miguel Figueiredo Tue, 04 Jan 2011 21:16:28 +0000 + debootstrap (1.0.26) unstable; urgency=low [ Christian Perrier ] diff --git a/debootstrap b/debootstrap index 0ea3417..9b0b7f1 100755 --- a/debootstrap +++ b/debootstrap @@ -317,10 +317,10 @@ if [ $# != 0 ] ; then ;; --private-key|--private-key=?*) if [ "$1" = "--private-key" -a -n "$2" ]; then - PRIVATEKEY="$2" + PRIVATEKEY="--private-key=$2" shift 2 elif [ "$1" != "${1#--private-key=}" ]; then - PRIVATEKEY="--private--key=${1#--private-key=}" + PRIVATEKEY="--private-key=${1#--private-key=}" shift 1 else error 1 NEEDARG "option requires an argument %s" "$1" -- cgit v0.12