mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
install script should write files as current user
If you ran it as root before, it would write files as whatever uid we had on our buildbot. Oops! Fixes #2249.
This commit is contained in:
@@ -79,7 +79,7 @@ INSTALL_TMPDIR="$HOME/.meteor-install-tmp"
|
||||
rm -rf "$INSTALL_TMPDIR"
|
||||
mkdir "$INSTALL_TMPDIR"
|
||||
echo "Downloading Meteor distribution"
|
||||
curl --progress-bar --fail "$TARBALL_URL" | tar -xzf - -C "$INSTALL_TMPDIR"
|
||||
curl --progress-bar --fail "$TARBALL_URL" | tar -xzf - -C "$INSTALL_TMPDIR" -o
|
||||
# bomb out if it didn't work, eg no net
|
||||
test -x "${INSTALL_TMPDIR}/.meteor/meteor"
|
||||
mv "${INSTALL_TMPDIR}/.meteor" "$HOME"
|
||||
|
||||
Reference in New Issue
Block a user