diff --git a/bin/compile b/bin/compile index ac8d04927..8d4484ab6 100755 --- a/bin/compile +++ b/bin/compile @@ -106,7 +106,7 @@ export CPPPATH="$INCLUDE_PATH" ############################################ echo "-----> Installing meteorite with npm" -run_npm "install meteorite -g" +npm install meteorite -g echo "Meteorite installed" | indent METEOR_BUILD_DIR="$BUILD_DIR/.meteor/heroku_build" @@ -120,13 +120,13 @@ echo "Installing meteor" | indent # Using different folder to prevent install script form deleting packages file VENDORED_METEOR="$(mktmpdir meteor)" -curl https://install.meteor.com | HOME="$VENDORED_METEOR" /bin/sh | indent +curl https://install.meteor.com | /bin/sh | indent echo "Meteor installed" | indent echo "Installing packages" | indent HOME="$BUILD_DIR" mrt install | indent echo "Building meteor bundle" | indent -HOME="$VENDORED_METEOR" "$VENDORED_METEOR"/.meteor/meteor bundle "$CACHE_DIR"/bundle.tar.gz 2>&1 | indent +meteor bundle "$CACHE_DIR"/bundle.tar.gz 2>&1 | indent mkdir -p "$METEOR_BUILD_DIR"/app tar -zxf "$CACHE_DIR"/bundle.tar.gz --strip-components 1 -C "$METEOR_BUILD_DIR"/app