common Makefile.common,1.90,1.91

Jesse Keating (jkeating) fedora-extras-commits at redhat.com
Fri Mar 28 20:15:26 UTC 2008


Author: jkeating

Update of /cvs/pkgs/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16161

Modified Files:
	Makefile.common 
Log Message:
Exit if we don't have curl or wget.  (ajax)



Index: Makefile.common
===================================================================
RCS file: /cvs/pkgs/common/Makefile.common,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- Makefile.common	24 Mar 2008 18:40:14 -0000	1.90
+++ Makefile.common	28 Mar 2008 20:14:56 -0000	1.91
@@ -197,6 +197,7 @@
 		break ; \
 	    fi ; \
 	done 
+	@if [ ! -x "$(CLIENT)" ] ; then echo "Please install curl or wget" ; exit 1 ; fi
 	@if [ ! -e "$@" ] ; then $(CLIENT) $(REPOSITORY)/$(NAME)/$@/$(get_sources_md5)/$@  ; fi
 	@if [ ! -e "$@" ] ; then echo "Could not download source file: $@ does not exist" ; exit 1 ; fi
 	@if test "$$(md5sum $@ | awk '{print $$1}')" != "$(get_sources_md5)" ; then \




More information about the fedora-extras-commits mailing list