Created
November 7, 2019 05:07
-
-
Save tsuchm/22e4a7b41449daba1585d000379fcb77 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| case "$1" in | |
| */*) | |
| executable=`readlink -f $1` | |
| ;; | |
| *) | |
| executable=`pwd`/$1 | |
| ;; | |
| esac | |
| echo ${executable} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment