Created
July 7, 2009 18:00
-
-
Save dennisreimann/142251 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will update your cappuccino installation with the | |
# current version of the provided branch (defaults to "master") | |
cd /usr/local/src/cappuccino/ | |
branch=${1-"master"} | |
# update sources | |
git checkout -f -b $branch origin/$branch | |
git pull | |
# install | |
rake release | |
rake install | |
# confirm update | |
echo "Installed `capp --version`" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment