aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpriv/templates/bin2
-rwxr-xr-xpriv/templates/extended_bin2
2 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/bin b/priv/templates/bin
index 3067259..0b439c3 100755
--- a/priv/templates/bin
+++ b/priv/templates/bin
@@ -2,7 +2,7 @@
set -e
-SCRIPT=$(readlink $0)
+SCRIPT=$(readlink $0 || true)
if [ -z $SCRIPT ]; then
SCRIPT=$0
fi;
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin
index 1d4da54..f7955cb 100755
--- a/priv/templates/extended_bin
+++ b/priv/templates/extended_bin
@@ -2,7 +2,7 @@
set -e
-SCRIPT=$(readlink $0)
+SCRIPT=$(readlink $0 || true)
if [ -z $SCRIPT ]; then
SCRIPT=$0
fi;