diff options
author | Tristan Sloughter <[email protected]> | 2013-09-12 19:19:05 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2013-09-12 19:20:59 -0500 |
commit | 5a4db4623a6250b97913863a2e17e601ab2e30c7 (patch) | |
tree | 529db2febfd5dcbc2e9528692fb4e62d7490f3a4 /src | |
parent | 73536c5a81c5aff57c8e7f8d76fde760b5ddd3ce (diff) | |
download | relx-5a4db4623a6250b97913863a2e17e601ab2e30c7.tar.gz relx-5a4db4623a6250b97913863a2e17e601ab2e30c7.tar.bz2 relx-5a4db4623a6250b97913863a2e17e601ab2e30c7.zip |
fix ternary shell operation in start script
Diffstat (limited to 'src')
-rw-r--r-- | src/rlx_prv_assembler.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl index db5d147..e0ddb01 100644 --- a/src/rlx_prv_assembler.erl +++ b/src/rlx_prv_assembler.erl @@ -879,7 +879,7 @@ 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 ]] && BOOTFILE=$REL_NAME || BOOTFILE=start ;; + console) [ -f $REL_DIR/$REL_NAME.boot ] && BOOTFILE=$REL_NAME || BOOTFILE=start ;; console_clean) BOOTFILE=start_clean ;; console_boot) shift @@ -913,7 +913,7 @@ case \"$1\" in # start up the release in the foreground for use by runit # or other supervision services - [[ -f $REL_DIR/$REL_NAME ]] && BOOTFILE=$REL_NAME || BOOTFILE=start + [ -f $REL_DIR/$REL_NAME.boot ] && BOOTFILE=$REL_NAME || BOOTFILE=start FOREGROUNDOPTIONS=\"-noinput +Bd\" # Setup beam-required vars |