HCoop
/
jackhill
/
mal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a24b38
)
Fix Travis test script to work with Bash 5
author
Gavin Lewis
<epylar@gmail.com>
Thu, 17 Oct 2019 14:27:17 +0000
(07:27 -0700)
committer
Gavin Lewis
<epylar@gmail.com>
Thu, 17 Oct 2019 15:00:23 +0000
(08:00 -0700)
Bash 5 doesn't like periods in variable names so this commit
performs a substitution to double underscores to avoid them.
.travis_test.sh
patch
|
blob
|
blame
|
history
diff --git
a/.travis_test.sh
b/.travis_test.sh
index
c4939dd
..
e9b48d4
100755
(executable)
--- a/
.travis_test.sh
+++ b/
.travis_test.sh
@@
-35,7
+35,8
@@
if [ "${NO_SELF_HOST_PERF}" -a "${DO_SELF_HOST}" -a "${ACTION}" = "perf" ]; then
exit 0
fi
-mode_var=${MAL_IMPL:-${IMPL}}_MODE
+raw_mode_var=${MAL_IMPL:-${IMPL}}_MODE
+mode_var=${raw_mode_var/./__}
mode_val=${!mode_var}
MAKE="make ${mode_val:+${mode_var}=${mode_val}}"