--- a/Makefile.am
+++ b/Makefile.am
@@ -93,5 +93,5 @@
 dist_man1_MANS = man/upmpdcli.1
 
 dist-hook:
-	test -z "`git status -s | grep -v upmpdcli-$(VERSION)`|grep -v rdpl2stream.tar.gz"
+	test -z "`git status -s | grep -v upmpdcli-$(VERSION)| grep -v rdpl2stream.tar.gz`"
 	git tag -f -a upmpdcli-v$(VERSION) -m 'version $(VERSION)'