Skip to content

Commit 6f82970

Browse files
author
Damian Rouson
committed
Enable bare install-prefix for OpenCoarrays itself
This change was already made for installation of other packages. Now ./install.sh --install-prefix /foo/bar/ will result in the installation of OpenCoarrays to /foo/bar without appending "opencoarrays/<version-number>" to the installation path.
1 parent 789c441 commit 6f82970

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ elif [[ "${arg_p:-}" == "opencoarrays" ]]; then
296296
# shellcheck source=./prerequisites/build-functions/set_SUDO_if_needed_to_write_to_directory.sh
297297
source "${OPENCOARRAYS_SRC_DIR:-}/prerequisites/build-functions/set_SUDO_if_needed_to_write_to_directory.sh"
298298
version="$("${opencoarrays_src_dir}/install.sh" -V opencoarrays)"
299-
install_path="${install_path}/opencoarrays/${version}"
300299
set_SUDO_if_needed_to_write_to_directory "${install_path}"
301300
build_opencoarrays 2>&1 | tee ../"${installation_record}"
302301
report_results 2>&1 | tee -a ../"${installation_record}"

0 commit comments

Comments
 (0)