Skip to content

Instantly share code, notes, and snippets.

@dennisreimann
Created July 7, 2009 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dennisreimann/142251 to your computer and use it in GitHub Desktop.
Save dennisreimann/142251 to your computer and use it in GitHub Desktop.
#!/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