diff --git a/bin/compile b/bin/compile index 57478c6..08e99da 100755 --- a/bin/compile +++ b/bin/compile @@ -1,3 +1,4 @@ + #!/bin/bash # Configure directories @@ -37,7 +38,7 @@ install_node(){ # Download node from Heroku's S3 mirror of nodejs.org/dist echo "Downloading and installing node" node_url="http://s3pository.heroku.com/node/v$node_version/node-v$node_version-linux-x64.tar.gz" - curl $node_url -s -o - | tar xzf - -C $build_dir + curl -L $node_url -s -o - | tar xzf - -C $build_dir # Move node (and npm) into ./vendor and make them executable