summaryrefslogtreecommitdiff
path: root/packaging/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/standalone')
-rw-r--r--packaging/standalone/erl.diff5
1 files changed, 2 insertions, 3 deletions
diff --git a/packaging/standalone/erl.diff b/packaging/standalone/erl.diff
index c51bfe2213..13b7d328d6 100644
--- a/packaging/standalone/erl.diff
+++ b/packaging/standalone/erl.diff
@@ -1,5 +1,4 @@
-20c20,21
+21c21
< ROOTDIR="%FINAL_ROOTDIR%"
---
-> realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" ; }
-> ROOTDIR="$(dirname `realpath $0`)/../.."
+> ROOTDIR="$(cd $(dirname "$0") && pwd)/../.."