Created
March 14, 2016 02:28
-
-
Save haoliplus/8e7f0bc9962293e33453 to your computer and use it in GitHub Desktop.
get dir path in a script
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
export FILEPATH=$(cd `dirname $0`; pwd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment