https://bugzilla.novell.com/show_bug.cgi?id=327523
User angelo.compagnucci@davide.it added comment
https://bugzilla.novell.com/show_bug.cgi?id=327523#c29
Angelo Compagnucci changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |angelo.compagnucci@davide.it
Status|RESOLVED |REOPENED
Resolution|FIXED |
Version|RC 1 |Final
--- Comment #29 from Angelo Compagnucci 2008-01-30 02:46:42 MST ---
Hi to all!
I reopened the bug cause I found a programming error in fetchmsttfonts.sh .
At line 122-123 the script has:
cabextract -l $file &> /dev/null
if [ $? -ne 0 ]; then
In this way $? is always 1 on a slow or busy cpu. The "if" should wait the
cabextract end of execution to retrive the exit code.
So the "success" variable at line 129 is set to true only in case the last cab
is successfully extracted (random condition).
So, this is the patch:
cabextract -l $file > /dev/null
if [ $? -ne 0 ]; then
I've attacched the patch.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.