Created
May 10, 2019 07:43
-
-
Save panpf/c11a91b3b996e9c18b0a242e52bdc9c3 to your computer and use it in GitHub Desktop.
shell 获取当前脚本文件所在的绝对路径
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
basePath=$(cd `dirname $0`; pwd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment