# Test to make sure config files are distributed, and only once.
# This tries to distribute a file from a subdirectory, without
-# Makefile in that directory. distcom5.test performs the same
+# Makefile in that directory. 'distcom5.sh' performs the same
# test with a Makefile in the directory.
-. ./defs || Exit 1
+. ./defs || exit 1
cat >> configure.ac << 'END'
AC_CONFIG_FILES([tests/autoconf:tests/wrapper.in],
cat dc.txt # For debugging.
-test 1 = `grep tests dc.txt | wc -l`
+test 1 -eq $(grep -c tests dc.txt)
grep configure dc.txt
: