Created
April 17, 2015 10:42
-
-
Save justjkk/35a575c885cccb8deb22 to your computer and use it in GitHub Desktop.
Directory where bash file is present
This file contains 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
#!/bin/bash | |
DIR="$( builtin cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment