Skip to content

Commit 2ed3c4a

Browse files
committed
Fix some minore trailing whitespace & lint errors
1 parent 6e81ea4 commit 2ed3c4a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/tests/installation/installation-scripts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ function cleanup_before_exit() {
129129
}
130130
trap cleanup_before_exit EXIT # The signal is specified here. Could be SIGINT, SIGTERM etc.
131131

132-
pushd "${OPENCOARRAYS_SRC_DIR}"/src/tests/installation
132+
pushd "${OPENCOARRAYS_SRC_DIR}"/src/tests/installation || exit 1
133133

134134
# shellcheck source=../../../prerequisites/stack.sh
135135
source "${OPENCOARRAYS_SRC_DIR}"/prerequisites/stack.sh
136136
source test-stack.sh
137137
test_stack
138138

139-
popd
139+
popd || exit 1

src/tests/installation/installation-scripts.sh-usage

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
-b --install-branch [arg] Install the specified repository development branch.
22
-B --list-branches [arg] List the available branches in the specified package's repository.
3-
-c --with-c [arg] Use specified C compiler.
4-
-C --with-cxx [arg] Use specified C++ compiler.
3+
-c --with-c [arg] Use specified C compiler.
4+
-C --with-cxx [arg] Use specified C++ compiler.
55
-d --debug Enable debug mode.
66
-D --print-downloader [arg] Print download program for package specified in argument.
77
-e --verbose Enable verbose mode, print script as it is executed.
8-
-f --with-fortran [arg] Use specified Fortran compiler.
8+
-f --with-fortran [arg] Use specified Fortran compiler.
99
-h --help Print this page.
1010
-i --install-prefix [arg] Install package in specified path. Default="${OPENCOARRAYS_SRC_DIR}/prerequisites/installations/${package_name:-}/${version_to_build:-}"
1111
-I --install-version [arg] Install package version.

0 commit comments

Comments
 (0)