commit | 4eb44e7a41666f019cba812943e7e13987bc20cc | [log] [tgz] |
---|---|---|
author | Marie Janssen <jamuraa@google.com> | Wed Nov 11 20:01:13 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Nov 11 20:01:13 2015 +0000 |
tree | e8b05b6fe0de54509537e4d5260efb16a4b3790c | |
parent | c1c01c65042a84f9d12a1683451433ebaa111545 [diff] | |
parent | 4afc2c0f6faa37ae809469b15bf2016547599e27 [diff] |
Merge "envsetup: fix for provision to work on zsh"
diff --git a/envsetup.sh b/envsetup.sh index c3e467c..45f70b3 100644 --- a/envsetup.sh +++ b/envsetup.sh
@@ -1520,7 +1520,8 @@ echo "" echo "ALL DATA ON THE DEVICE WILL BE IRREVOCABLY ERASED." echo "" - read -p "Are you sure you want to do this (yes/no)? " + echo -n "Are you sure you want to do this (yes/no)? " + read if [[ "${REPLY}" != "yes" ]] ; then echo "Not taking any action. Exiting." >&2 return 1