Skip to content
This repository
Newer
Older
100755 19 lines (14 sloc) 0.325 kb
dc6faaeb »
2010-06-13 Rename erl.sh to ej; provide nicer console title for ejc.
1 #!/bin/bash
2
3 ## Script to run the ERLConsole
4 ##
5
075603fe »
2010-06-17 Shell script cleanup
6 EJC_CMD=`which "$0"`
fe03ddf7 »
2010-06-17 More script clean up; bsd/macosx does not support -m option to readlink.
7 while LINK=`readlink "$EJC_CMD"`; do EJC_CMD=$LINK; done
075603fe »
2010-06-17 Shell script cleanup
8 EJC_DIR=`dirname "$EJC_CMD"`
dc6faaeb »
2010-06-13 Rename erl.sh to ej; provide nicer console title for ejc.
9
fe03ddf7 »
2010-06-17 More script clean up; bsd/macosx does not support -m option to readlink.
10 source $EJC_DIR/env_cfg
dc6faaeb »
2010-06-13 Rename erl.sh to ej; provide nicer console title for ejc.
11
fe03ddf7 »
2010-06-17 More script clean up; bsd/macosx does not support -m option to readlink.
12 exec java -server \
dc6faaeb »
2010-06-13 Rename erl.sh to ej; provide nicer console title for ejc.
13 -Derj.threads=1 \
fe03ddf7 »
2010-06-17 More script clean up; bsd/macosx does not support -m option to readlink.
14 -jar $EJC_DIR/erjang-0.1.jar \
dc6faaeb »
2010-06-13 Rename erl.sh to ej; provide nicer console title for ejc.
15 -home $HOME \
16 -root $ERL_ROOT \
4eed71d7 »
2010-06-15 Fix bug in the main ej script; command line args were not getting pas…
17 +e $ERTS_VSN \
dc6faaeb »
2010-06-13 Rename erl.sh to ej; provide nicer console title for ejc.
18 $*
Something went wrong with that request. Please try again.