Created
March 14, 2015 12:51
-
-
Save ohall/f0208e1b5a7802674dd2 to your computer and use it in GitHub Desktop.
Make sure you're in script's actual working directory, not the dir you called it from.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Make sure you're in script's actual working directory, not the dir you called it from. | |
| # See: http://stackoverflow.com/a/16349776/741892 | |
| cd ${0%/*} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment