Commit c8c7d149feda16fa5f471654738791b6e7f1af5e

Christian Weisgerber 2020-09-17T18:59:48

expand arguments in shell script since brace expansion is not in POSIX ok stsp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/regress/cmdline/commit.sh b/regress/cmdline/commit.sh
index afd4162..79cd9c8 100755
--- a/regress/cmdline/commit.sh
+++ b/regress/cmdline/commit.sh
@@ -248,7 +248,8 @@ test_commit_deleted_subdirs() {
 		return 1
 	fi
 
-	(cd $testroot/wt && got rm -R $testroot/wt/{epsilon,gamma} >/dev/null)
+	(cd $testroot/wt && \
+		got rm -R $testroot/wt/epsilon $testroot/wt/gamma >/dev/null)
 
 	(cd $testroot/wt && got commit -m 'test commit_deleted_subdirs' \
 		> $testroot/stdout 2> $testroot/stderr)