diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-11-07 22:25:22 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-11-07 22:25:22 +0200 |
commit | db78c6a3ccd2bfde092124eca1d3174ac3902f55 (patch) | |
tree | ec38326873548359e4d809e5cd739a072491083c /test/Makefile.in | |
parent | 07aa3d5dafee42fcaa3eaa0370a187c5cb53570e (diff) | |
download | egawk-db78c6a3ccd2bfde092124eca1d3174ac3902f55.tar.gz egawk-db78c6a3ccd2bfde092124eca1d3174ac3902f55.tar.bz2 egawk-db78c6a3ccd2bfde092124eca1d3174ac3902f55.zip |
Solaris fixes.
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 9601241f..1f1a2757 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -3650,15 +3650,17 @@ pass-fail: fi # This target for my convenience to look at all the results +# Don't use POSIX or bash-isms so that it'll work on !@#$%^&*() Solaris. diffout: for i in _* ; \ do \ if [ "$$i" != "_*" ]; then \ echo ============== $$i ============= ; \ - if [ -r $${i#_}.ok ]; then \ - diff -c $${i#_}.ok $$i ; \ + base=`echo $$i | sed 's/^_//'` ; \ + if [ -r $${base}.ok ]; then \ + diff -c $${base}.ok $$i ; \ else \ - diff -c "$(srcdir)"/$${i#_}.ok $$i ; \ + diff -c "$(srcdir)"/$${base}.ok $$i ; \ fi ; \ fi ; \ done | more |