Nathanael 2016-06-25 11:31:57 -07:00
Родитель 96a92bd1aa 90a28f9da2
Коммит 8fe84f8967
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -20,7 +20,7 @@ load_signature() {
fi fi
} }
# Get the node binary from the heroku. Similar to how heroku does it but # Get the node binary from Heroku. Similar to how Heroku does it but
# without package.json resolution for the node version, since we only need # without package.json resolution for the node version, since we only need
# to install node to make this build pack work, not to support customer # to install node to make this build pack work, not to support customer
# node scripts. See the following for reference # node scripts. See the following for reference
@ -28,7 +28,7 @@ load_signature() {
# Referenced from https://github.com/heroku/heroku-buildpack-nodejs/blob/master/lib/binaries.sh # Referenced from https://github.com/heroku/heroku-buildpack-nodejs/blob/master/lib/binaries.sh
install_nodejs() { install_nodejs() {
local dir="$1/node" local dir="$1/node"
local version=5.11.1 local version=6.2.2
local version_str="v$version-$(get_os)-$(get_cpu)" local version_str="v$version-$(get_os)-$(get_cpu)"
if [ "$(create_signature)" != "$(load_signature $dir)" ]; then if [ "$(create_signature)" != "$(load_signature $dir)" ]; then