aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_assembler.erl
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2013-09-13 10:35:30 -0700
committerJordan Wilberding <[email protected]>2013-09-13 10:35:30 -0700
commit2da2a7fe52993d572a66ae4bd69f32ef1912b1ec (patch)
tree529db2febfd5dcbc2e9528692fb4e62d7490f3a4 /src/rlx_prv_assembler.erl
parent73536c5a81c5aff57c8e7f8d76fde760b5ddd3ce (diff)
parent5a4db4623a6250b97913863a2e17e601ab2e30c7 (diff)
downloadrelx-2da2a7fe52993d572a66ae4bd69f32ef1912b1ec.tar.gz
relx-2da2a7fe52993d572a66ae4bd69f32ef1912b1ec.tar.bz2
relx-2da2a7fe52993d572a66ae4bd69f32ef1912b1ec.zip
Merge pull request #34 from tsloughter/masterv0.1.10.1.1
fix ternary shell operation in start script
Diffstat (limited to 'src/rlx_prv_assembler.erl')
-rw-r--r--src/rlx_prv_assembler.erl4
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