syntax-check: use test A && test B instead of test A -a B

This commit is contained in:
Uri Lublin 2013-07-10 00:10:07 +03:00
parent bc77805b5f
commit 8b4dde347b

View File

@ -135,4 +135,4 @@ EXTRA_DIST = \
BUILT_SOURCES = $(spice_built_sources)
dist-hook:
if [ -e ./tests/test_spice_version.sh -a ! ./tests/test_spice_version.sh ] ; then exit 1; fi
if test ./tests/test_spice_version.sh && ! test ./tests/test_spice_version.sh; then exit 1; fi