From 75f5b406a31a18b3a193a9382e120e5b0fadcf83 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Fri, 11 Nov 2011 13:41:36 -0800
Subject: [PATCH] cleaner

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

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