diff options
Diffstat (limited to 'scripts/install')
-rwxr-xr-x | scripts/install/install-get-partition | 4 | ||||
-rwxr-xr-x | scripts/install/install-image | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition index 85c10358..8b4bd406 100755 --- a/scripts/install/install-get-partition +++ b/scripts/install/install-get-partition @@ -37,7 +37,7 @@ ROOT_FSTYPE='ext3' warn_of_dire_consequences () { # Give the user a requisite warning that we are about to nuke their drive response='' - while [ -z $response ]; do + while [ -z "$response" ]; do echo "This will destroy all data on /dev/$INSTALL_DRIVE." echo -n "Continue? (Yes/No) [No]: " response=$(get_response "No" "Yes No Y N") @@ -857,7 +857,7 @@ unmount () { echo "$mounted" response='' - while [ -z $response ]; do + while [ -z "$response" ]; do echo -n "Continue (Yes/No) [No]: " response=$(get_response "No" "Yes No Y N") if [ "$response" == "no" ] || [ "$response" == "n" ]; then diff --git a/scripts/install/install-image b/scripts/install/install-image index 44414846..cd486404 100755 --- a/scripts/install/install-image +++ b/scripts/install/install-image @@ -215,7 +215,7 @@ Vyatta image to a local hard drive. EOF response='' -while [ -z $response ] +while [ -z "$response" ] do echo -n "Would you like to continue? (Yes/No) [Yes]: " response=$(get_response "Yes" "Yes No Y N") |