File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 5252# Alternatively, check the dependency stacks for the package before entering the
5353# main conditional blocks in find_or_install.
5454#
55- # __________ Process command-line arguments and environment variables _____________
56-
55+
5756# Make sure we really exit with correct status when piping function output
5857set -o pipefail
5958
59+ # __________ Process command-line arguments and environment variables _____________
60+
6061this_script=` basename $0 `
6162
6263# Interpret the first command-line argument, if present, as the OpenCoarrays installation path.
@@ -799,15 +800,8 @@ report_results()
799800 echo " # $line " >> setup.sh
800801 done < " $opencoarrays_src_dir /LICENSE"
801802 echo " # " >> setup.sh
802- echo " # Execute this script via the following commands: " >> setup.sh
803- echo " # cd $install_path " >> setup.sh
804- echo " # source setup.sh " >> setup.sh
805- echo " " >> setup.sh
806- echo " if [[ -z \"\$ PATH\" ]]; then " >> setup.sh
807- echo " export PATH=\" bin\" " >> setup.sh
808- echo " else " >> setup.sh
809- echo " export PATH=\" bin\" :\$ PATH " >> setup.sh
810- echo " fi " >> setup.sh
803+ echo " # Execute this script via the following command: " >> setup.sh
804+ echo " # source $install_path /setup.sh " >> setup.sh
811805 echo " " >> setup.sh
812806 gcc_install_path=` ./build gcc --default --query-path`
813807 if [[ -x " $gcc_install_path /bin/gfortran" ]]; then
You can’t perform that action at this time.
0 commit comments