Commit e5a14fe3f9e59a98ad7f7fd0987bd913d404f7e6

Stefan Sperling 2020-10-01T20:52:11

missed one case while changing $() to `` (found by rczlonka)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/regress/cmdline/common.sh b/regress/cmdline/common.sh
index cde580f..d982671 100644
--- a/regress/cmdline/common.sh
+++ b/regress/cmdline/common.sh
@@ -169,7 +169,7 @@ test_init()
 		echo "No test name provided" >&2
 		return 1
 	fi
-	local testroot=$(mktemp -d "$GOT_TEST_ROOT/got-test-$testname-XXXXXXXX")
+	local testroot=`mktemp -d "$GOT_TEST_ROOT/got-test-$testname-XXXXXXXX"`
 	mkdir $testroot/repo
 	git_init $testroot/repo
 	if [ -z "$no_tree" ]; then