MozillaFirefox/mozilla.sh.in
branchfirefox34
changeset 820 419e95018725
parent 502 ba1be580e369
child 956 5353413a2411
child 1010 d1e06d9e5ef1
--- a/MozillaFirefox/mozilla.sh.in	Tue Dec 02 21:14:59 2014 +0100
+++ b/MozillaFirefox/mozilla.sh.in	Mon Dec 15 19:36:13 2014 +0100
@@ -131,7 +131,8 @@
 if [ $moz_debug -eq 1 ]; then
   tmpfile=`mktemp /tmp/mozargs.XXXXXX` || { echo "Cannot create temporary file" >&2; exit 1; }
   trap " [ -f \"$tmpfile\" ] && /bin/rm -f -- \"$tmpfile\"" 0 1 2 3 13 15
-  echo -e "set args ${1+"$@"}\nrun" > $tmpfile
+  echo "set args ${1+"$@"}" > $tmpfile
+  echo "run" >> $tmpfile
   echo "$moz_debugger $MOZ_PROGRAM -x $tmpfile"
   exec $moz_debugger "$MOZ_PROGRAM" -x $tmpfile
 else