merge from firefox34 firefox35
authorWolfgang Rosenauer <wr@rosenauer.org>
Mon, 15 Dec 2014 19:40:59 +0100
branchfirefox35
changeset 822 48c2dcc7f7a0
parent 821 8732363b138a (current diff)
parent 820 419e95018725 (diff)
child 823 bb072062aa29
merge from firefox34
MozillaFirefox/MozillaFirefox.changes
--- a/MozillaFirefox/MozillaFirefox.changes	Mon Dec 15 19:39:22 2014 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes	Mon Dec 15 19:40:59 2014 +0100
@@ -14,6 +14,11 @@
   crashes (bnc#908892)
 
 -------------------------------------------------------------------
+Sat Dec 13 22:13:00 UTC 2014 - Led <ledest@gmail.com>
+
+- fix bashism in mozilla.sh script
+
+-------------------------------------------------------------------
 Sat Nov 29 21:23:03 UTC 2014 - wr@rosenauer.org
 
 - update to Firefox 34.0.5 (bnc#908009)
--- a/MozillaFirefox/mozilla.sh.in	Mon Dec 15 19:39:22 2014 +0100
+++ b/MozillaFirefox/mozilla.sh.in	Mon Dec 15 19:40:59 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