diff options
author | Slava Yurin <[email protected]> | 2013-09-23 10:25:10 +0700 |
---|---|---|
committer | Slava Yurin <[email protected]> | 2013-09-23 10:25:10 +0700 |
commit | 4a1ef26bf942c71df3c9fdd907546063818144b2 (patch) | |
tree | 661b5ca873c1f84714f259f4f5e6b780c59ff526 /src/rlx_prv_assembler.erl | |
parent | ca0370134cea77ea91555db136d6a144bb1b78c6 (diff) | |
download | relx-4a1ef26bf942c71df3c9fdd907546063818144b2.tar.gz relx-4a1ef26bf942c71df3c9fdd907546063818144b2.tar.bz2 relx-4a1ef26bf942c71df3c9fdd907546063818144b2.zip |
Fix search of vm.args
Diffstat (limited to 'src/rlx_prv_assembler.erl')
-rw-r--r-- | src/rlx_prv_assembler.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl index a61d557..27dd3c1 100644 --- a/src/rlx_prv_assembler.erl +++ b/src/rlx_prv_assembler.erl @@ -679,9 +679,9 @@ find_sys_config() { } # Use $CWD/vm.args if exists, otherwise releases/APP_VSN/vm.args, or else etc/vm.args -if [ -e \"$CALLER_DIR/vm.args\" ]; then - VMARGS_PATH=$CALLER_DIR/vm.args - USE_DIR=$CALLER_DIR +if [ -e \"$RELEASE_ROOT_DIR/vm.args\" ]; then + VMARGS_PATH=$RELEASE_ROOT_DIR/vm.args + USE_DIR=$RELEASE_ROOT_DIR else USE_DIR=$REL_DIR if [ -e \"$REL_DIR/vm.args\" ]; then |