From d89c587eeb23356357bc2c83e4fd48c36410fd8d186ed3c69185811d8d31fdd5 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Mon, 15 Dec 2014 18:32:23 +0000 Subject: [PATCH] Accepting request 265117 from home:Ledest:bashisms fix bashism in mozilla.sh script OBS-URL: https://build.opensuse.org/request/show/265117 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=417 --- MozillaFirefox.changes | 5 +++++ mozilla.sh.in | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 5ef105ba..24281c6b 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 13 22:13:00 UTC 2014 - Led + +- fix bashism in mozilla.sh script + ------------------------------------------------------------------- Sat Nov 29 21:23:03 UTC 2014 - wr@rosenauer.org diff --git a/mozilla.sh.in b/mozilla.sh.in index d7eb9786..1b4c127a 100644 --- a/mozilla.sh.in +++ b/mozilla.sh.in @@ -131,7 +131,8 @@ done 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