https://bugs.freedesktop.org/show_bug.cgi?id=85214

--- Comment #4 from Evan Langlois <[email protected]> ---
s/successfule/successful/

Here is a snippet of configure failing:

checking for building the Barcode extension... no
checking for building the ConvertTextToNumber extension... no
checking for building the Numbertext extension... no
checking for building the Hungarian Cross-reference Toolbar extension... no
checking for building the Typography Toolbar extension... no
checking for building the Google Docs extension... no
checking for building the NLPSolver extension... no
checking for building the LanguageTool extension... no
checking for Sun Professional Template Pack integration (only supported
languages displayed)... no integration
checking whether to include third-party fonts... no
checking for fc-match... /usr/bin/fc-match
checking font mapping for 'Calibri'... ./configure: 38799: shift: can't shift
that many


And that's where it dies.  The line is actually 38799 in the usage of shift.
Bash will silently ignore shift if it runs out of variables to shift.  Bourne
shell gives the above error.  And .. one other way bash and bourne differ is
that bourne shell exits if any built-in fails.  So .. since shift is a built-in
and it ran out of arguments .. the configure script dies.

Maybe you could test how many arguments you have with $# before calling shift. 
Notice exit status clause of shift in
http://pubs.opengroup.org/onlinepubs/009695399/utilities/shift.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to