Dominique Leuenberger 2014-11-24 10:18:02 +00:00 committed by Git OBS Bridge
commit 53c1db1fe8
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 16 21:22:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in mozilla.sh script
-------------------------------------------------------------------
Tue Nov 4 08:16:43 UTC 2014 - guillaume@opensuse.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