aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/unix
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-06-08 15:26:48 +0200
committerSverker Eriksson <[email protected]>2018-06-08 15:26:48 +0200
commit2134c4fa0b2eb7d227295aed166d344dcf022d21 (patch)
tree9398a8861cf08c1e011841b56de7eccf19c37800 /erts/etc/unix
parentcefb0d82743d908af1d7933feb8f2ea59c6a0ec3 (diff)
downloadotp-2134c4fa0b2eb7d227295aed166d344dcf022d21.tar.gz
otp-2134c4fa0b2eb7d227295aed166d344dcf022d21.tar.bz2
otp-2134c4fa0b2eb7d227295aed166d344dcf022d21.zip
erts: Remove "-pz $PRELOADED" arguments added by cerl
It caused problems when starting with -rr and other arguments. Not sure what purpose it served as -pz $PRELOADED is not passed by default by "erl".
Diffstat (limited to 'erts/etc/unix')
-rw-r--r--erts/etc/unix/cerl.src8
1 files changed, 2 insertions, 6 deletions
diff --git a/erts/etc/unix/cerl.src b/erts/etc/unix/cerl.src
index 4eeb6ba8c3..bbdd6b3784 100644
--- a/erts/etc/unix/cerl.src
+++ b/erts/etc/unix/cerl.src
@@ -88,8 +88,6 @@ TARGET=%TARGET%
PROGNAME=$ROOTDIR/bin/cerl
EMU=beam
-PRELOADED=$ROOTDIR/erts/preloaded/ebin
-
while [ $# -gt 0 ]; do
case "$1" in
@@ -260,8 +258,6 @@ if [ $skip_erlexec = yes ]; then
'
set -- $beam_args
IFS="$SAVE_IFS"
-else
- xargs="$xargs -pz $PRELOADED --"
fi
if [ "x$GDB" = "x" ]; then
if [ $run_valgrind = yes ]; then
@@ -307,10 +303,10 @@ if [ "x$GDB" = "x" ]; then
sched_arg=
fi
- exec $taskset1 valgrind $valgrind_xml $valgrind_log $valgrind_misc_flags $BINDIR/$EMU_NAME $sched_arg $emu_xargs "$@" -pz $PRELOADED
+ exec $taskset1 valgrind $valgrind_xml $valgrind_log $valgrind_misc_flags $BINDIR/$EMU_NAME $sched_arg $emu_xargs "$@"
elif [ $run_rr = yes ]; then
- exec rr record --ignore-nested $BINDIR/$EMU_NAME $emu_xargs "$@" -pz $PRELOADED
+ exec rr record --ignore-nested $BINDIR/$EMU_NAME $emu_xargs "$@"
else
exec $EXEC $xargs ${1+"$@"}
fi