Bug 1365567 - Heroku: Don't vendor libmysqlclient on Heroku-16

Since the OS package present in the Heroku-16 image is now new enough
(v5.7.x) that it's not affected by the MITM issue. See:
https://devcenter.heroku.com/articles/stack-packages
This commit is contained in:
Ed Morley 2017-07-15 15:25:33 +01:00
Родитель ed34567863
Коммит beb4d6740e
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -4,6 +4,11 @@
# Make non-zero exit codes & other errors fatal.
set -euo pipefail
if [[ "$STACK" == "heroku-16" ]]; then
# Skip vendoring libmysqlclient on Heroku-16 since it's already new enough.
exit 0
fi
VENDOR_DIR="$BUILD_DIR/.heroku/vendor"
mkdir -p "$VENDOR_DIR"