diff options
author | Jordan Wilberding <[email protected]> | 2015-05-08 15:57:05 -0700 |
---|---|---|
committer | Jordan Wilberding <[email protected]> | 2015-05-08 15:57:05 -0700 |
commit | 2e59b1c95575b3c104cc191e954c82baadc43c6c (patch) | |
tree | d18fb57579cb3e58984599bdb2c926db9314d294 /priv/templates/erl_script | |
parent | f8af9f5cd9f70ff43a043fe274dda4e56be82a2d (diff) | |
parent | 58fec57db3d99ffb5aefd0d5751d7bbda6762f66 (diff) | |
download | relx-2e59b1c95575b3c104cc191e954c82baadc43c6c.tar.gz relx-2e59b1c95575b3c104cc191e954c82baadc43c6c.tar.bz2 relx-2e59b1c95575b3c104cc191e954c82baadc43c6c.zip |
Merge pull request #339 from tsloughter/mustache
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+"$@"} |