Created
August 14, 2019 05:54
-
-
Save pzxbc/b93f844a07cac9ae8fe88697ba6ed155 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
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")";pwd) | |
cd ${SCRIPT_DIR} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment