Skip to content

Instantly share code, notes, and snippets.

@xcodebuild
Created July 25, 2015 04:33
Show Gist options
  • Save xcodebuild/338ddef047080e5122b0 to your computer and use it in GitHub Desktop.
Save xcodebuild/338ddef047080e5122b0 to your computer and use it in GitHub Desktop.
Tell bash script what directory it's stored in.
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment