Skip to content

Instantly share code, notes, and snippets.

@treyhoover
Created December 2, 2016 21:08
Show Gist options
  • Save treyhoover/05bba7d3d156af27a3743ecd9b412a31 to your computer and use it in GitHub Desktop.
Save treyhoover/05bba7d3d156af27a3743ecd9b412a31 to your computer and use it in GitHub Desktop.
# Ensure current directory is the script directory
WORKDIR=`dirname "$0"`
cd ${WORKDIR}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment