Skip to content

Instantly share code, notes, and snippets.

@lwille
Created June 20, 2012 12:12
Show Gist options
  • Save lwille/2959611 to your computer and use it in GitHub Desktop.
Save lwille/2959611 to your computer and use it in GitHub Desktop.
Install auth branch of meteor
#!/bin/sh
checkout_path=$(mktemp -d -t meteor)
git clone -b auth git://github.com/meteor/meteor.git $checkout_path
export PREFIX=/usr/local/lib
$checkout_path/install.sh && ln -fs $PREFIX/meteor/bin/meteor /usr/local/bin/ && rm -rf $checkout_path
if [[ $? == 0 ]]; then
echo $(meteor --version) successfully installed
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment