check_legal.regex: allow matching cd-info.exe.

check_common_fn.in: don't erase file cd-info_legal.dump if there is an error.
This commit is contained in:
R. Bernstein
2012-03-03 16:58:34 -05:00
parent b0e12e476e
commit deb33d6a0b
2 changed files with 2 additions and 3 deletions

View File

@@ -153,7 +153,6 @@ test_legal_header() {
echo " ${line}" echo " ${line}"
echo "$0: Failed command:" echo "$0: Failed command:"
echo " ${cmd} ${opts}" echo " ${cmd} ${opts}"
rm -f "${outfile}"
exit 4 exit 4
fi fi
done < ${srcdir}/check_legal.regex done < ${srcdir}/check_legal.regex

View File

@@ -1,5 +1,5 @@
cd-info version [0-9] cd-info version.* [0-9]
^Copyright (c) 2003 ^Copyright (c) 200
Bernstein Bernstein
^This is free software; see the source for copying conditions\.$ ^This is free software; see the source for copying conditions\.$
^There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A$ ^There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A$