From ab39ab6833dfc3c09937d5da54997f4719d1f3fc Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Fri, 11 Nov 2011 13:56:28 -0800
Subject: [PATCH] sasl2

---
 bin/compile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/compile b/bin/compile
index bcdcdc64..5d164de4 100755
--- a/bin/compile
+++ b/bin/compile
@@ -65,10 +65,10 @@ then
     echo "-----> Noticed pylibmc. Bootstrapping libmemcached."
     cd .heroku
 
-    if [ -d "vendor" ]; then
+    if [ -d "vendor/lib/sasl2" ]; then
       export LIBMEMCACHED=$(pwd)/vendor
     else
-      curl -s -L -O http://cl.ly/0a191R3K160t1w1P0N25/vendor-libmemcached.tar.gz
+      curl -s -L -O $VENDORED_MEMCACHED
       tar -zxvf vendor-libmemcached.tar.gz > /dev/null
       rm vendor-libmemcached.tar.gz
       export LIBMEMCACHED=$(pwd)/vendor
-- 
GitLab