mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Don't skip the geo-libs vendoring step if only gdalserver present
Since if someone previously had `GDAL` in their requirements file, they would already have the gdalserver binary present from `bin/steps/gdal` but be missing the proj and geos vendor files. By checking for `proj` instead, we ensure that the vendoring isn't incorrectly skipped in this case.
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ bpwatch start geo_libs_install
|
||||
# If GDAL exists within requirements, use vendored gdal.
|
||||
if [[ "$BUILD_WITH_GEO_LIBRARIES" ]]; then
|
||||
|
||||
if [ ! -f ".heroku/vendor/bin/gdalserver" ]; then
|
||||
if [ ! -f ".heroku/vendor/bin/proj" ]; then
|
||||
echo "-----> Bootstrapping gdal, geos, proj."
|
||||
mkdir -p .heroku/vendor
|
||||
# Download and extract cryptography into target vendor directory.
|
||||
|
||||
Reference in New Issue
Block a user