diff options
author | Tristan Sloughter <[email protected]> | 2015-04-28 22:36:44 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2015-05-08 11:16:53 -0500 |
commit | 88d1f29257869b0de9369881236477163804125a (patch) | |
tree | c14b95ae8efdebcf074d314b6b0afb662f3454fb /priv/templates/erl_script | |
parent | a36609536aaf7d98b5bd5d3364cab739dc6689b5 (diff) | |
download | relx-88d1f29257869b0de9369881236477163804125a.tar.gz relx-88d1f29257869b0de9369881236477163804125a.tar.bz2 relx-88d1f29257869b0de9369881236477163804125a.zip |
use mustache instead of erlydtl for overlays
Diffstat (limited to 'priv/templates/erl_script')
-rw-r--r-- | priv/templates/erl_script | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/priv/templates/erl_script b/priv/templates/erl_script new file mode 100644 index 0000000..72e93dd --- /dev/null +++ b/priv/templates/erl_script @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +SCRIPT_DIR=`dirname $0` +ROOTDIR=`cd $SCRIPT_DIR/../../ && pwd` +BINDIR=$ROOTDIR/erts-{{ erts_vsn }}/bin +EMU=beam +PROGNAME=`echo $0 | sed 's/.*\\///'` +export EMU +export ROOTDIR +export BINDIR +export PROGNAME +exec "$BINDIR/erlexec" ${1+"$@"} |