From 9e00de4e56a38ab77674028e1035a12eab30d90f Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.org>
Date: Thu, 14 May 2015 08:28:32 +0200
Subject: [PATCH] improvements to gdal step

---
 bin/steps/gdal | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/steps/gdal b/bin/steps/gdal
index 2172ede8..b36a8192 100755
--- a/bin/steps/gdal
+++ b/bin/steps/gdal
@@ -22,15 +22,15 @@ bpwatch start gdal_install
 # If GDAL exists within requirements, use vendored gdal.
 if (pip-grep -s requirements.txt GDAL &> /dev/null) then
 
-  if [ -d ".heroku/vendor/lib/libffi-3.1.1" ]; then
-    export LIBFFI=$(pwd)/vendor
+  if [ -d ".heroku/vendor/lib/gdal-1.11.0" ]; then
+    export GDAL=$(pwd)/vendor
   else
     echo "-----> Noticed GDAL. Bootstrapping gdal."
     mkdir -p .heroku/vendor
     # Download and extract cryptography into target vendor directory.
     curl $VENDORED_GDAL -s | tar zxv -C .heroku/vendor &> /dev/null
 
-    export LIBFFI=$(pwd)/vendor
+    export GDAL=$(pwd)/vendor
   fi
 fi
 
-- 
GitLab