diff options
author | Sverker Eriksson <[email protected]> | 2013-10-08 19:26:20 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-11-13 17:41:30 +0100 |
commit | 6a47cdc863ebb1bcdaf6d183cf40da67911f3fd0 (patch) | |
tree | f1d00697a4775e0b9bfc9ce75d6c3dc98a9c6439 /erts/etc/unix | |
parent | 20641fe0f2ea745873fc7557448d3a7deb1bd639 (diff) | |
download | otp-6a47cdc863ebb1bcdaf6d183cf40da67911f3fd0.tar.gz otp-6a47cdc863ebb1bcdaf6d183cf40da67911f3fd0.tar.bz2 otp-6a47cdc863ebb1bcdaf6d183cf40da67911f3fd0.zip |
erts: Fix cerl -gdb
by replacing all newlines in $beam_args with space
Diffstat (limited to 'erts/etc/unix')
-rw-r--r-- | erts/etc/unix/cerl.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/unix/cerl.src b/erts/etc/unix/cerl.src index 41baa323ed..2d18b9f310 100644 --- a/erts/etc/unix/cerl.src +++ b/erts/etc/unix/cerl.src @@ -339,7 +339,7 @@ else case "x$core" in x) # Get emu args to use from erlexec... - beam_args=`$EXEC -emu_args_exit ${1+"$@"}` + beam_args=`$EXEC -emu_args_exit ${1+"$@"} | tr '\n' ' '` gdbcmd="(insert-string \"set args $beam_args\") \ (comint-send-input)" ;; |