readlink works on older OSes than realpath

This commit is contained in:
Jay Lee
2019-04-21 21:38:39 -04:00
parent f348405d46
commit dd7d4923be

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
mypath=$(realpath $0)
mypath=$(readlink -e $0)
export GAM_REAL_PATH=$(dirname $mypath)
staticx_binary="$mypath-staticx"
"$staticx_binary" "$@"