Browse code

Merge "Use -e to read"

Jenkins authored on 2011/11/29 09:36:46
Showing 1 changed files
... ...
@@ -214,7 +214,7 @@ function read_password {
214 214
         echo "It is probably best to avoid spaces and weird characters."
215 215
         echo "If you leave this blank, a random default value will be used."
216 216
         echo "Enter a password now:"
217
-        read $var
217
+        read -e $var
218 218
         pw=${!var}
219 219
         if [ ! $pw ]; then
220 220
             pw=`openssl rand -hex 10`