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 52
52
# Alternatively, check the dependency stacks for the package before entering the
53
53
# main conditional blocks in find_or_install.
54
54
#
55
- # __________ Process command-line arguments and environment variables _____________
56
-
55
+
57
56
# Make sure we really exit with correct status when piping function output
58
57
set -o pipefail
59
58
59
+ # __________ Process command-line arguments and environment variables _____________
60
+
60
61
this_script=` basename $0 `
61
62
62
63
# Interpret the first command-line argument, if present, as the OpenCoarrays installation path.
@@ -799,15 +800,8 @@ report_results()
799
800
echo " # $line " >> setup.sh
800
801
done < " $opencoarrays_src_dir /LICENSE"
801
802
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
811
805
echo " " >> setup.sh
812
806
gcc_install_path=` ./build gcc --default --query-path`
813
807
if [[ -x " $gcc_install_path /bin/gfortran" ]]; then
You can’t perform that action at this time.
0 commit comments