Skip to content

Instantly share code, notes, and snippets.

@sramam
Created May 7, 2014 15:18
Show Gist options
  • Save sramam/6943cc3ed195f5ee3f53 to your computer and use it in GitHub Desktop.
Save sramam/6943cc3ed195f5ee3f53 to your computer and use it in GitHub Desktop.
bash directory of current script
SCRIPT_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