Skip to content

Commit 9ed6fbf

Browse files
author
Damian Rouson
committed
Add dev branch build: ./build.sh -p gcc -b trunk
1 parent 9d2dc94 commit 9ed6fbf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

prerequisites/build.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ fi
4646
# shellcheck source=./use-case/bootstrap.sh
4747
source "${B3B_USE_CASE}/bootstrap.sh" "$@"
4848

49-
50-
5149
# Set up a function to call when receiving an EXIT signal to do some cleanup. Remove if
5250
# not needed. Other signals can be trapped too, like SIGINT and SIGTERM.
5351
function cleanup_before_exit () {
@@ -118,7 +116,7 @@ if [[ -z "${arg_B}" ]]; then
118116
# shellcheck source=./build-functions/set_or_print_default_version.sh
119117
source "${OPENCOARRAYS_SRC_DIR:-}/prerequisites/build-functions/set_or_print_default_version.sh"
120118
set_or_print_default_version "${@}"
121-
export version_to_build="${arg_I:-${default_version}}"
119+
export version_to_build="${arg_I:-${arg_b:-${default_version}}}"
122120
fi
123121

124122
# shellcheck source=./build-functions/set_or_print_downloader.sh

0 commit comments

Comments
 (0)