[buildd-tools-devel] [PATCH] Fix shell script comparison.

Philipp Kern pkern at debian.org
Sun Oct 31 19:28:01 UTC 2010


On Sun, Oct 31, 2010 at 05:28:18PM +0100, Cyril Brulebois wrote:
> The proper operator to compare strings is =, not ==. On dash for
> example, one gets:
>     $ [ "a" == "b" ]
>     [: 1: a: unexpected operator

Applied, thanks.  As said on IRC it does specific bash as its interpreter
anyway, so it being POSIX compliant (plus the other functions dash implements)
isn't a top priority.

Kind regards,
Philipp Kern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101031/d143d22a/attachment.pgp>


More information about the Buildd-tools-devel mailing list