Created
June 12, 2020 10:22
-
-
Save Warrenn/b2cf2da53efec82b328dd444710380a6 to your computer and use it in GitHub Desktop.
get the location of the script from wherever
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
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment