Straighten out -f / -d flag confusion in libmemcached prerequisite
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 20 Dec 2010 02:55:24 +0000 (02:55 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 20 Dec 2010 02:55:24 +0000 (02:55 +0000)
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

src/extras/Makefile.install

index a4a2708..c1e40a4 100644 (file)
@@ -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