Also export the proxy for https usage
[ext/instance-debootstrap.git] / create
diff --git a/create b/create
index 1f3c0bd..072905c 100755 (executable)
--- a/create
+++ b/create
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# Copyright (C) 2007, 2008, 2009 Google Inc.
+# Copyright (C) 2007, 2008, 2009, 2012 Google Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -75,6 +75,7 @@ if [ -f "$CACHE_FILE" ]; then
 else
   if [ "$PROXY" ]; then
     export http_proxy="$PROXY"
+    export https_proxy="$PROXY"
   fi
   # INCLUDE will be empty if EXTRA_PKGS is null/empty, otherwise we
   # build the full parameter format from it