From c8a6263eb519ccca6ef87fc405a53d255dc0b2e1 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 3 May 2020 13:39:55 -0400 Subject: Convert [ ... ] to test ... in scripting. The "[" link may be missing during OS boostrapping. * build.sh: Convert "[ ... ]" to "test ..." * maintMakefile: Ditto. * scripts/copyright-update: Ditto * tests/scripts/features/reinvoke: Ditto * tests/scripts/features/targetvars: Ditto --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 4c88b534..cc1c7909 100755 --- a/build.sh +++ b/build.sh @@ -103,7 +103,7 @@ convert () esac fn="$top_srcdir/lib/${fn##*/}" - [ -f "$fn" ] || { echo "Missing file: $fn"; exit 1; } + test -f "$fn" || { echo "Missing file: $fn"; exit 1; } sed "/definitions* of $inc/r $fn" "$int" > "${int}_" int=${int}_ -- cgit v1.2.1