diff --git a/boilerplate/make-cairo-boilerplate-constructors.sh b/boilerplate/make-cairo-boilerplate-constructors.sh index dd6311178..09716ca9e 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 fdb84e9dc..cb1391e73 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