Unportable test(1) construct

Christian Stimming stimming at tuhh.de
Tue Oct 17 04:34:08 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Klausner schrieb:
> gnucash-2.0.1 (and svn from a few minutes ago) uses the unportable
> bash "==" comparison operator for test(1). It is not supported by
> most other shells or even test(1) from GNU coreutils. Please use
> "=" instead. Patch against 2.0.1 is attached.

Applied to SVN-trunk and branches/2.0 right now. Thanks a lot for
pointing this out. I think this was rather a simple typo instead of
someone trying to use the actual bash operator. But since only a small
minority use the postgresql-backend, nobody discovered this so far.
Again thanks for reporting this and sending the patch.

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRTSVgGXAi+BfhivFAQKN4wP/fkGu0NFNa856JDfujFl6jRsMxkS3fdLP
YpN7eNQ84E6NUHyleIxjhE/fEFGawy1feL6hcr5B+RfKojT6PwiMFVymdQ/k5O/T
TsOKYIUz2OykhbViZtUD3Qqx5vglrHiGd7RdTwuaMcnJuooIXVjbLlZVCEimjumc
qjsGfGWTaIY=
=L0jQ
-----END PGP SIGNATURE-----


More information about the gnucash-devel mailing list