Last active
April 13, 2019 07:37
-
-
Save tamsky/11797593886dd548ae2efc95003fbb03 to your computer and use it in GitHub Desktop.
bash hint for executing $0
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
( cd ${dest_path} && $0 ) | |
vs | |
( cd ${dest_path} && $(realpath "${BASH_SOURCE[0]}") ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment