From 5c0e5b2f0447ba71ebf25a0937ee8d28d0dfd502 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 8 Apr 2017 11:16:50 -0400 Subject: tests.sh: Use eval instead of declare -g Turns out declare -g is from Bash 4 too. --- tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3