more careful pylibmc check

This commit is contained in:
Kenneth Reitz
2012-03-23 22:42:40 -04:00
parent e8e67fe093
commit b9fc30f592
+5 -2
View File
@@ -13,8 +13,8 @@
VENDORED_MEMCACHED="http://cl.ly/0a191R3K160t1w1P0N25/vendor-libmemcached.tar.gz"
# If pylibmc exists within requirements, use vendored libmemcached.
if (grep -Fiq "pylibmc" requirements.txt)
then
if [ requirements.txt ]; then
if (grep -Fiq "pylibmc" requirements.txt) then
echo "-----> Noticed pylibmc. Bootstrapping libmemcached."
cd .heroku
@@ -30,4 +30,7 @@ then
export LIBMEMCACHED=$(pwd)/vendor
cd ..
fi
fi