projects
/
platform
/
upstream
/
automake.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: use more POSIX shell features our test scripts
[platform/upstream/automake.git]
/
t
/
substtarg.sh
diff --git
a/t/substtarg.sh
b/t/substtarg.sh
index
2e695f8
..
5fd4f82
100755
(executable)
--- a/
t/substtarg.sh
+++ b/
t/substtarg.sh
@@
-46,5
+46,6
@@
$ACLOCAL
AUTOMAKE_fails
grep 'overrid.*libfake@SUBST@.a' stderr
$AUTOMAKE -Wno-override
-num=`grep '^libfake@SUBST@.a:' Makefile.in | wc -l`
-test $num -eq 1
+test $(grep -c '^libfake@SUBST@.a:' Makefile.in) -eq 1
+
+: