mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
readlink works on older OSes than realpath
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
mypath=$(realpath $0)
|
mypath=$(readlink -e $0)
|
||||||
export GAM_REAL_PATH=$(dirname $mypath)
|
export GAM_REAL_PATH=$(dirname $mypath)
|
||||||
staticx_binary="$mypath-staticx"
|
staticx_binary="$mypath-staticx"
|
||||||
"$staticx_binary" "$@"
|
"$staticx_binary" "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user