Bug#378736: gnome-autogen.sh: bashism

Bas Wijnen shevek at fmf.nl
Tue Jul 18 16:24:27 UTC 2006


Package: gnome-common
Version: 2.12.0-2

When compiling pioneers with dash as /bin/sh, it breaks on gnome-autogen.sh
(see bug #318424).  The problem is on line 154:

if compare_versions 1.7 $AUTOMAKE_VERSION && [ -s $cm_macrodirs/dirlist ]; then

AUTOMAKE_VERSION is usually not defined.  I think what is meant there is
REQUIRED_AUTOMAKE_VERSION, which is guaranteed to be defined by the script.

compare_versions cannot handle an empty second argument when using dash.

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://129.125.47.90/e-mail.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20060718/d5e51e43/attachment.pgp


More information about the Pkg-gnome-maintainers mailing list