diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-02 10:09:50 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-02 10:09:50 +0100 |
commit | 2c03dfa0b406565fca798214a842bac69b042017 (patch) | |
tree | 28351b8f4eff4e7eada61fe0184d103eec5fdb27 | |
parent | f5df38ca5efcbc0cd3cc18d9fb67df49ec4859f8 (diff) |
[boilerplate/test] Use numerical equality not string equality
test == != -eq
-rw-r--r-- | boilerplate/make-cairo-boilerplate-constructors.sh | 2 | ||||
-rw-r--r-- | test/make-cairo-test-constructors.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/boilerplate/make-cairo-boilerplate-constructors.sh b/boilerplate/make-cairo-boilerplate-constructors.sh index dd631117..09716ca9 100644 --- a/boilerplate/make-cairo-boilerplate-constructors.sh +++ b/boilerplate/make-cairo-boilerplate-constructors.sh @@ -1,6 +1,6 @@ #! /bin/sh -if test $# == 0; then +if test $# -eq 0; then echo "$0: no input files." >&2 exit 0 fi diff --git a/test/make-cairo-test-constructors.sh b/test/make-cairo-test-constructors.sh index fdb84e9d..cb1391e7 100644 --- a/test/make-cairo-test-constructors.sh +++ b/test/make-cairo-test-constructors.sh @@ -1,6 +1,6 @@ #! /bin/sh -if test $# == 0; then +if test $# -eq 0; then echo "$0: no input files." >&2 exit 0 fi |