summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-04-08 11:16:50 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-04-08 11:16:50 -0400
commit5c0e5b2f0447ba71ebf25a0937ee8d28d0dfd502 (patch)
tree1f1e2136ac91ed834e9ccf9c400569ba17c91b6c
parent5b343f3e2515eb1077792564735f7e7c9e4c65e7 (diff)
downloadbfs-5c0e5b2f0447ba71ebf25a0937ee8d28d0dfd502.tar.xz
tests.sh: Use eval instead of declare -g
Turns out declare -g is from Bash 4 too.
-rwxr-xr-xtests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index be68017..ca27ff8 100755
--- a/tests.sh
+++ b/tests.sh
@@ -354,7 +354,7 @@ done
function enable_tests() {
for test; do
- declare -g run_$test=yes
+ eval run_$test=yes
done
}