forked from pool/MozillaThunderbird
Accepting request 261959 from home:Ledest:bashisms
fix bashism in mozilla.sh script OBS-URL: https://build.opensuse.org/request/show/261959 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=267
This commit is contained in:
parent
2e705fc3de
commit
ab381eff50
@ -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
|
Tue Nov 4 08:16:43 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -131,7 +131,8 @@ done
|
|||||||
if [ $moz_debug -eq 1 ]; then
|
if [ $moz_debug -eq 1 ]; then
|
||||||
tmpfile=`mktemp /tmp/mozargs.XXXXXX` || { echo "Cannot create temporary file" >&2; exit 1; }
|
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
|
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"
|
echo "$moz_debugger $MOZ_PROGRAM -x $tmpfile"
|
||||||
exec $moz_debugger "$MOZ_PROGRAM" -x $tmpfile
|
exec $moz_debugger "$MOZ_PROGRAM" -x $tmpfile
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user