[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Patch related to https support in debootstrap



Hi everyone,

attached a patch which fixes a typo and a mistake I made in my previous patch
to handle https support in debootstrap.

Cheers,
Jonathan
diff --git a/debootstrap b/debootstrap
index 194cfed..de2e27d 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" 

Reply to: