Skip to content

Commit

Permalink
style: reword prompts (autowarefoundation#201)
Browse files Browse the repository at this point in the history
* style: reword prompts

* revert N

Signed-off-by: Kenji Miyake <[email protected]>

Co-authored-by: Kenji Miyake <[email protected]>
  • Loading branch information
Lalith Vipulananthan and Kenji Miyake authored May 13, 2022
1 parent 335ce26 commit 77cf205
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [ ${#args[@]} -ge 1 ]; then
fi

if [ "$installation_type" != "core" ] && [ "$installation_type" != "universe" ] && [ "$installation_type" != "docker" ]; then
echo -e "\e[31mPlease input a valid installation type 'core', 'universe' or 'docker' as the 1st argument, or keep it empty to use the default.\e[m"
echo -e "\e[31mPlease input a valid installation type argument. Either input 'core', 'universe' or 'docker' as the first argument, or leave the argument blank to use the default type.\e[m"
exit 1
fi

Expand All @@ -46,8 +46,8 @@ ansible_args=()
if [ "$option_yes" = "true" ]; then
echo -e "\e[36mRun the setup in non-interactive mode.\e[m"
else
echo -e "\e[33mSetting up the build environment take up to 1 hour.\e[m"
read -rp "> Are you sure to run the setup? [y/N] " answer
echo -e "\e[33mSetting up the build environment can take up to 1 hour.\e[m"
read -rp "> Are you sure you want to run setup? [y/N] " answer

# Check whether to cancel
if ! [[ ${answer:0:1} =~ y|Y ]]; then
Expand Down

0 comments on commit 77cf205

Please sign in to comment.