fix bashism in mozilla.sh script firefox34
authorLed <ledest@gmail.com>
Mon, 15 Dec 2014 19:36:13 +0100
branchfirefox34
changeset 820 419e95018725
parent 813 9e3063dcc69e
child 822 48c2dcc7f7a0
fix bashism in mozilla.sh script
MozillaFirefox/MozillaFirefox.changes
MozillaFirefox/mozilla.sh.in
--- a/MozillaFirefox/MozillaFirefox.changes	Tue Dec 02 21:14:59 2014 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes	Mon Dec 15 19:36:13 2014 +0100
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+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	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