diff options
author | Lukas Larsson <[email protected]> | 2012-05-30 18:45:34 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2012-06-05 10:52:16 +0200 |
commit | 5f8867fb985b2b899e2ba8391652c7111f9df9bb (patch) | |
tree | 768a901c7372789ac8f39f0d100e4c03c81b4dc8 /erts/etc/unix/erl.src.src | |
parent | 3e348c69b6921dd0e2c5b699ccd36d46321c953c (diff) | |
download | otp-5f8867fb985b2b899e2ba8391652c7111f9df9bb.tar.gz otp-5f8867fb985b2b899e2ba8391652c7111f9df9bb.tar.bz2 otp-5f8867fb985b2b899e2ba8391652c7111f9df9bb.zip |
Update to work with whitespace in exec path
OTP-10106
OTP-10107
Diffstat (limited to 'erts/etc/unix/erl.src.src')
-rw-r--r-- | erts/etc/unix/erl.src.src | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/etc/unix/erl.src.src b/erts/etc/unix/erl.src.src index 50603f12f4..fa187c5509 100644 --- a/erts/etc/unix/erl.src.src +++ b/erts/etc/unix/erl.src.src @@ -17,7 +17,7 @@ # # %CopyrightEnd% # -ROOTDIR=%FINAL_ROOTDIR% +ROOTDIR="%FINAL_ROOTDIR%" BINDIR=$ROOTDIR/erts-%VSN%/bin EMU=%EMULATOR%%EMULATOR_NUMBER% PROGNAME=`echo $0 | sed 's/.*\///'` @@ -25,4 +25,4 @@ export EMU export ROOTDIR export BINDIR export PROGNAME -exec $BINDIR/erlexec ${1+"$@"} +exec "$BINDIR/erlexec" ${1+"$@"} |