From: dbs Date: Mon, 20 Dec 2010 02:54:50 +0000 (+0000) Subject: Straighten out -f / -d flag confusion in libmemcached prerequisite X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dc87c6cd47c3783aae6170fcde484cefd4bea991;p=working%2FOpenSRF.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/branches/rel_2_0@2137 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