Skip to content

Commit

Permalink
fix code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
terhorstd committed Sep 5, 2023
1 parent a293d3d commit 0d04413
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions plans/nest-simulator/3.1/default
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ SHA256SUM=5c11dd6b451c4c6bf93037bf29d5231c6c75a0e1a8863344f6fb9bb225f279ca

CMAKEFLAGS+=" -Dwith-boost=ON -Dwith-python=ON -Dwith-mpi=ON -Dwith-detailed-timers=ON -Dwith-ltdl=OFF"

# shellcheck source=../common
source "$(dirname "${PLAN}")/../common"
2 changes: 1 addition & 1 deletion plans/nest-simulator/common
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module_install () {
log_status ">>> installing module file to ${module_path}"
mkdir -pv "$(dirname "${module_path}")"
module="$(cat "${PLAN}.module")"
if version_gt $BASH_VERSION 4.4; then
if version_gt "${BASH_VERSION}" "4.4"; then
echo -e "${module@P}" >"${module_path}"
else
# this is a bad substitute for the power of the bash>4.4 notation.
Expand Down
1 change: 1 addition & 0 deletions plans/nest-simulator/master/default
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ URL="https://github.com/nest/nest-simulator/archive/${VERSION}.tar.gz"

CMAKEFLAGS+=" -Dwith-boost=ON -Dwith-python=ON -Dwith-mpi=ON -Dwith-detailed-timers=ON -Dwith-ltdl=OFF"

# shellcheck source=../common
source "$(dirname "${PLAN}")/../common"

0 comments on commit 0d04413

Please sign in to comment.