aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuan Wajnerman <[email protected]>2013-08-01 12:43:32 -0300
committerJuan Wajnerman <[email protected]>2013-08-01 12:43:32 -0300
commitf328299f86916bd393f4609176fb716aef6a5d68 (patch)
treec463a15f0ba5f9e680c659e6813e9bacefce6c9e /src
parent23febc6dad7df5f43689c6f363f166bcf67750c7 (diff)
downloadrelx-f328299f86916bd393f4609176fb716aef6a5d68.tar.gz
relx-f328299f86916bd393f4609176fb716aef6a5d68.tar.bz2
relx-f328299f86916bd393f4609176fb716aef6a5d68.zip
Escape forward slash in 'sed' execution for extended bin
Diffstat (limited to 'src')
-rw-r--r--src/rlx_prv_assembler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index 20f9c5c..52894f2 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -838,7 +838,7 @@ case \"$1\" in
ROOTDIR=$RELEASE_ROOT_DIR
BINDIR=$RELEASE_ROOT_DIR/erts-$ERTS_VSN/bin
EMU=beam
- PROGNAME=`echo $0 | sed 's/.*///'`
+ PROGNAME=`echo $0 | sed 's/.*\\///'`
CMD=\"$BINDIR/erlexec $FOREGROUNDOPTIONS -boot $REL_DIR/$BOOTFILE -config $CONFIG_PATH -args_file $VMARGS_PATH\"
export EMU
export ROOTDIR