mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 09:51:36 +00:00
readlink works on older OSes than realpath
This commit is contained in:
@@ -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" "$@"
|
||||
|
||||
Reference in New Issue
Block a user