Portability

- Applied patch from Emil Sköldberg.

Replace 'test ... == ...' with 'test ... = ...',
since [quoted from pkgsrc error message]:

The "test" command, as well as the "[" command, are not required to know
the "==" operator. Only a few implementations like bash and some
versions of ksh support it.

When you run "test foo == foo" on a platform that does not support the
"==" operator, the result will be "false" instead of "true". This can
lead to unexpected behavior.
This commit is contained in:
Paul Beckingham 2010-03-25 17:36:43 -04:00
parent 2791578410
commit b6e9b84c80
3 changed files with 5 additions and 3 deletions

View file

@ -20,6 +20,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Steven de Brouwer
Pietro Cerutti
Alexander Neumann
Emil Sköldberg
Thanks to the following, who submitted detailed bug reports and excellent suggestions:
Eugene Kramer