summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Figueiredo <elmig-guest@users.alioth.debian.org>2011-01-04 21:55:54 +0000
committerMiguel Figueiredo <elmig-guest@users.alioth.debian.org>2011-01-04 21:55:54 +0000
commit7c99375d70d8239b6cd0a6ecb6dab33dd66581cf (patch)
tree50729f2d33c979ffcedd0c24bf806ad3218a553d
parentbf67a3418f38e983b8c069a16ef690fb29895caa (diff)
downloaddebootstrap-7c99375d70d8239b6cd0a6ecb6dab33dd66581cf.tar.gz
fix to --private-key. Thanks to Jonathan Klee
r66195
-rw-r--r--debian/changelog8
-rwxr-xr-xdebootstrap4
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 <elmig@debianpt.org> 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"