Skip to content

Instantly share code, notes, and snippets.

@CocoaBeans
Created April 7, 2014 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save CocoaBeans/10025711 to your computer and use it in GitHub Desktop.
Save CocoaBeans/10025711 to your computer and use it in GitHub Desktop.
#!/bin/bash
SCRIPT_PATH="${0}"
SCRIPT_DIR=`dirname "${SCRIPT_PATH}"`
SCRIPT_DIR=`cd "${SCRIPT_DIR}"; pwd`
echo "$SCRIPT_DIR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment