summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"