[Spice-devel,06/11] syntax-check: use test A && test B instead of test A -a B

Submitted by Uri Lublin on July 17, 2013, 2:04 p.m.

Details

Message ID 1374069861-22750-6-git-send-email-uril@redhat.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Uri Lublin July 17, 2013, 2:04 p.m.
---
 server/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/server/Makefile.am b/server/Makefile.am
index 7a52b17..d351dae 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -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