Skip to content

Commit 1375869

Browse files
rousonzbeekman
authored andcommitted
Documentation fixes in build.sh script/usage file
1 parent e60acbd commit 1375869

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

prerequisites/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
export OPENCOARRAYS_SRC_DIR="${OPENCOARRAYS_SRC_DIR:-${PWD}/..}"
3535
export __usage=${OPENCOARRAYS_SRC_DIR}/prerequisites/build.sh-usage
3636
if [[ ! -f "${OPENCOARRAYS_SRC_DIR}/src/libcaf.h" ]]; then
37-
echo "Please run this script inside the top-level OpenCoarrays source directory "
38-
echo "or set OPENCOARRAYS_SRC_DIR to the OpenCoarrays source directory path."
37+
echo "Please run this script inside the OpenCoarrays source \"prerequisites\" subdirectory"
38+
echo "or set OPENCOARRAYS_SRC_DIR to the top-level OpenCoarrays source directory path."
3939
exit 1
4040
fi
4141
export B3B_USE_CASE="${B3B_USE_CASE:-${OPENCOARRAYS_SRC_DIR}/prerequisites/use-case}"

prerequisites/build.sh-usage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
-e --verbose Enable verbose mode, print script as it is executed.
77
-f --with-fortran [arg] Specify Fortran compiler location. Default="gfortran"
88
-h --help This page.
9-
-i --install-dir [arg] Install package in specified path. Default="${OPENCOARRAYS_SRC_DIR}/prerequisites/installations/${package_name:-}/${version_to_build:-}/"
9+
-i --install-dir [arg] Install package in specified path. Default="${OPENCOARRAYS_SRC_DIR}/prerequisites/installations/${package_name:-}/"
1010
-j --num-threads [arg] Number of threads to use when invoking make. Default="1"
1111
-I --install-version [arg] Package version to install. (To see default, use -V or --print-version)
1212
-l --list-packages List the packages this script can install.

0 commit comments

Comments
 (0)