From dd7d4923be853319c7573aa0920fb501c7484e63 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Sun, 21 Apr 2019 21:38:39 -0400 Subject: [PATCH] readlink works on older OSes than realpath --- src/staticx-gam.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/staticx-gam.sh b/src/staticx-gam.sh index c1bdfd15..8d2e2684 100755 --- a/src/staticx-gam.sh +++ b/src/staticx-gam.sh @@ -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" "$@"