diff options
author | Paul Smith <psmith@gnu.org> | 2020-05-03 13:39:55 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2020-05-03 14:23:56 -0400 |
commit | c8a6263eb519ccca6ef87fc405a53d255dc0b2e1 (patch) | |
tree | 8a2d865069abc0a567358e6faaf0dbd5c1ea8605 /build.sh | |
parent | a015d1f8225004222851b02fe915e2ff40452d25 (diff) | |
download | make-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-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}_ |