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

src/extras/Makefile.install

index f4d5f06..2a7c149 100644 (file)
@@ -368,7 +368,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