changeset 1572:addc4150a4e9

Fixed call to which (ps: never call withch at night!)
author Jiri Vanek <jvanek@redhat.com>
date Wed, 27 Feb 2019 19:39:08 +0100
parents 49cb60f2ad77
children 07f74a1ecc2d
files Makefile.am
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Wed Feb 27 19:15:28 2019 +0100
+++ b/Makefile.am	Wed Feb 27 19:39:08 2019 +0100
@@ -1274,7 +1274,7 @@
 	      then \
 	       export TMP_MANIFEST=`mktemp` ; \
 	       echo "$$AN $$dir" > $$TMP_MANIFEST ; \
-	       if [ which cygpath ] ; then \
+	       if  which cygpath  ; then \
 	         export TMP_MANIFEST=$(shell cygpath -p -m "$$TMP_MANIFEST") ; \
 	       fi ; \
 	       $(SYSTEM_JDK_DIR)/bin/jar ufm "$(REPRODUCERS_TESTS_SERVER_DEPLOYDIR)/$$dir.jar"  $$TMP_MANIFEST ; \
@@ -1289,7 +1289,7 @@
 
 stamps/netx-dist-tests-sign-some-reproducers.stamp: stamps/netx-dist-tests-prepare-reproducers.stamp
 	export keystore=$(TOP_BUILD_DIR)/$(PRIVATE_KEYSTORE_NAME); \
-	if [ which cygpath ] ; then \
+	if  which cygpath  ; then \
 	  export keystore=$(shell cygpath -p -m "$$keystore") ; \
 	fi ; \
 	types=($(SIGNED_REPRODUCERS)) ; \
@@ -1348,7 +1348,7 @@
 	  PUBLIC_KEYSTORE=${HOME}/.config ; \
 	fi ;\
 	export PUBLIC_KEYSTORE=$$PUBLIC_KEYSTORE/$(PUBLIC_KEYSTORE_STUB); \
-	if [ which cygpath ] ; then \
+	if  which cygpath  ; then \
 	  export PUBLIC_KEYSTORE=$(shell cygpath -p -m "$$PUBLIC_KEYSTORE") ; \
 	fi ; \
 	keystoredir=`dirname $(PUBLIC_KEYSTORE)`; \
@@ -1370,7 +1370,7 @@
 	  PUBLIC_KEYSTORE=${HOME}/.config ; \
 	fi ;\
 	export PUBLIC_KEYSTORE=$$PUBLIC_KEYSTORE/$(PUBLIC_KEYSTORE_STUB); \
-	if [ which cygpath ] ; then \
+	if  which cygpath  ; then \
 	  export PUBLIC_KEYSTORE=$(shell cygpath -p -m "$$PUBLIC_KEYSTORE") ; \
 	fi ; \
 	keystoredir=`dirname $(PUBLIC_KEYSTORE)`; \
@@ -1388,7 +1388,7 @@
 	  PUBLIC_KEYSTORE=${HOME}/.config ; \
 	fi ;\
 	export PUBLIC_KEYSTORE=$$PUBLIC_KEYSTORE/$(PUBLIC_KEYSTORE_STUB); \
-	if [ which cygpath ] ; then \
+	if  which cygpath  ; then \
 	  export PUBLIC_KEYSTORE=$(shell cygpath -p -m "$$PUBLIC_KEYSTORE") ; \
 	fi ; \
 	keystoredir=`dirname $(PUBLIC_KEYSTORE)`; \