Fix package_cloud availability detection in buildpack.sh.

This commit is contained in:
Alexey Kopytov
2018-07-09 08:20:58 +03:00
parent 4b3cd3ed90
commit 0f3cc25ca5

View File

@ -92,9 +92,10 @@ main()
exit 1
fi
if [ ! which package_cloud >/dev/null 2>&1 ]; then
if ! which package_cloud >/dev/null 2>&1 ; then
echo "This script requires package_cloud. You can install it by running:"
echo " gem install package_cloud"
exit 1
fi
if [ ! -d packpack ]; then