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
This commit is contained in:
Wolfgang Rosenauer 2014-12-15 18:32:23 +00:00 committed by Git OBS Bridge
parent 4a13134b83
commit d89c587eeb
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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

View File

@ -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