From: dbs Date: Mon, 20 Dec 2010 02:55:24 +0000 (+0000) Subject: Straighten out -f / -d flag confusion in libmemcached prerequisite X-Git-Tag: osrf_rel_2_1_0-alpha1~98 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=faae40e131d15639ac306004ee40793312e059d1;p=OpenSRF.git Straighten out -f / -d flag confusion in libmemcached prerequisite There are two different styles of checking for previously downloaded tarballs in this Makefile; the libmemcached entry combined them both with unfortunate results. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2138 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/extras/Makefile.install b/src/extras/Makefile.install index a4a2708..c1e40a4 100644 --- a/src/extras/Makefile.install +++ b/src/extras/Makefile.install @@ -362,7 +362,7 @@ install_buildutils: # Install libmemcached from the official project source install_libmemcached: - if [ ! -d $(LIBMEMCACHED).tar.gz ]; then wget $(LIBMEMCACHED_HOST)/$(LIBMEMCACHED).tar.gz; fi; + if [ ! -f $(LIBMEMCACHED).tar.gz ]; then wget $(LIBMEMCACHED_HOST)/$(LIBMEMCACHED).tar.gz; fi; tar xzf $(LIBMEMCACHED).tar.gz cd $(LIBMEMCACHED) && ./configure && make && make install