File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -599,16 +599,16 @@ find_or_install()
599
599
echo " $this_script : Ready to build $package executable $executable in $package_install_path "
600
600
fi
601
601
602
- printf " $this_script : Ok to download (if necessary), build, and install $package from source? (y /n) "
602
+ printf " $this_script : Ok to download (if necessary), build, and install $package from source? (Y /n) "
603
603
read proceed_with_build
604
604
605
- if [[ $proceed_with_build != " y " ]]; then
606
- printf " y \n"
605
+ if [[ " $proceed_with_build " == " n " || " $proceed_with_build " == " no " ]]; then
606
+ printf " n \n"
607
607
printf " $this_script : OpenCoarrays installation requires $package . Aborting. [exit 70]\n"
608
608
exit 70
609
609
610
610
else # permission granted to build
611
- printf " n \n"
611
+ printf " Y \n"
612
612
613
613
# On OS X, CMake must be built with Apple LLVM gcc, which XCode command-line tools puts in /usr/bin
614
614
if [[ ` uname` == " Darwin" && $package == " cmake" ]]; then
@@ -745,11 +745,11 @@ print_header()
745
745
printf " in ***\n"
746
746
echo " $install_path "
747
747
fi
748
- printf " Ready to proceed? (y /n)"
748
+ printf " Ready to proceed? (Y /n)"
749
749
read install_now
750
750
printf " $install_now \n"
751
751
752
- if [[ " $install_now " != " y " ]]; then
752
+ if [[ " $install_now " == " n " || " $install_now " == " no " ]]; then
753
753
printf " $this_script : Aborting. [exit 85]\n"
754
754
exit 85
755
755
fi
You can’t perform that action at this time.
0 commit comments