aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-01-18 09:39:36 -0600
committerTristan Sloughter <[email protected]>2014-01-18 09:39:40 -0600
commitd5e029838480600b9b6a654ae540bccd438177b9 (patch)
treee6de5441e3ee73467b978c0c434eb57c0dd1e083 /src
parentefecde83481e6603f2ccfd4a5e608c006296ffc4 (diff)
downloadrelx-d5e029838480600b9b6a654ae540bccd438177b9.tar.gz
relx-d5e029838480600b9b6a654ae540bccd438177b9.tar.bz2
relx-d5e029838480600b9b6a654ae540bccd438177b9.zip
fix path to start_clean in console_clean start script option
Diffstat (limited to 'src')
-rw-r--r--src/rlx_prv_assembler.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index fba21ca..ccac513 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -937,8 +937,8 @@ case \"$1\" in
# however, for debugging, sometimes start_clean.boot is useful.
# For e.g. 'setup', one may even want to name another boot script.
case \"$1\" in
- console) [ -f $REL_DIR/$REL_NAME.boot ] && BOOTFILE=$REL_NAME || BOOTFILE=start ;;
- console_clean) BOOTFILE=start_clean ;;
+ console) [ -f $REL_DIR/$REL_NAME.boot ] && BOOTFILE=$REL_DIR/$REL_NAME || BOOTFILE=$REL_DIR/start ;;
+ console_clean) BOOTFILE=$ROOTDIR/bin/start_clean ;;
console_boot)
shift
BOOTFILE=\"$1\"
@@ -948,7 +948,7 @@ case \"$1\" in
# Setup beam-required vars
EMU=beam
PROGNAME=`echo $0 | sed 's/.*\\///'`
- CMD=\"$BINDIR/erlexec -boot $REL_DIR/$BOOTFILE -mode embedded -config $CONFIG_PATH -args_file $VMARGS_PATH\"
+ CMD=\"$BINDIR/erlexec -boot $BOOTFILE -mode embedded -config $CONFIG_PATH -args_file $VMARGS_PATH\"
export EMU
export PROGNAME