hagzag/xcode-cli-install — pull request #1 by plexus (2013-09-15 09:36:39+00:00)
Title: Use curl instead of wget, detect the name of the main volume, cleanup

Wget isn't available on a vanilla install (at least not on the 10.8 I tried).

The script will now detect the name of the main volume, rather than assuming
it's always 'Macintosh HD'

I also wrapped the info/warn/error in nicer functions and made indentation
consistent across the script.