Skip to content

Commit 421e661

Browse files
author
Damian Rouson
committed
Non-OC installs: install.sh calls build.sh "${@}"
Previously, installing a package other than OpenCoarrays as in ./install.sh -p gcc -i /opt/gnu would result in install.sh execute ./build.sh -p gcc without passing the additional argument(s). Now install.sh passes all arguments via ./build.sh "${@}" This works because the acceptable arguments for build.sh form a superset of the acceptable arguments for install.sh.
1 parent c3a31f5 commit 421e661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ elif [[ "${arg_p:-}" == "ofp" ]]; then
284284

285285
elif [[ ! -z "${arg_p:-}" ]]; then
286286

287-
"${opencoarrays_src_dir}"/prerequisites/build.sh -p "${arg_p}"
287+
"${opencoarrays_src_dir}"/prerequisites/build.sh ${@:-}
288288

289289
fi
290290
# ____________________________________ End of Main Body ____________________________________________

0 commit comments

Comments
 (0)