summaryrefslogtreecommitdiff
path: root/t/number.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/number.sh')
-rwxr-xr-xt/number.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/number.sh b/t/number.sh
index b96e1180d..d5c3acf0e 100755
--- a/t/number.sh
+++ b/t/number.sh
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Test to make sure _OBJECTS only generated once. Bug reported by
+# Test to make sure _OBJECTS is only generated once. Bug reported by
# Joerg-Martin Schwarz.
. ./defs || Exit 1
@@ -31,7 +31,6 @@ $ACLOCAL
$AUTOMAKE
grep '^zardoz_OBJECTS' Makefile.in
-count=`grep -c '^zardoz_OBJECTS' Makefile.in`
-test $count -eq 1
+test $(grep -c '^zardoz_OBJECTS' Makefile.in) -eq 1
: