summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2020-05-03 13:39:55 -0400
committerPaul Smith <psmith@gnu.org>2020-05-03 14:23:56 -0400
commitc8a6263eb519ccca6ef87fc405a53d255dc0b2e1 (patch)
tree8a2d865069abc0a567358e6faaf0dbd5c1ea8605 /build.sh
parenta015d1f8225004222851b02fe915e2ff40452d25 (diff)
downloadmake-git-c8a6263eb519ccca6ef87fc405a53d255dc0b2e1.tar.gz
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
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
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}_