[clug] CVS commitinfo check php syntax

Joel Pearson pearj at writeme.com
Fri Jun 4 01:09:26 GMT 2004


Thanks Sam,

using exit instead of return fixed the problems with the phpsyntax script

I also read "The regular expression will be tested against the directory
into which the commit is taking place (with the directory name relative to
the top of the repository)"

My regular expression was looking for .php, but because it only tests the
directory name it was never running.  So I instead put ALL instead of a
regular expression and made sure my phpsyntax script only checked the syntax
for .php files.

Thanks everyone for you help!





More information about the linux mailing list