Skip to content
Snippets Groups Projects
Commit 9e00de4e authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

improvements to gdal step

parent afa8a0f7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment