From: <mh...@us...> - 2003-05-24 20:42:06
|
Update of /cvsroot/phpwebsite-comm/CVSROOT In directory sc8-pr-cvs1:/tmp/cvs-serv31778 Modified Files: enforce_naming Log Message: removed case enforcement Index: enforce_naming =================================================================== RCS file: /cvsroot/phpwebsite-comm/CVSROOT/enforce_naming,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** enforce_naming 24 May 2003 14:41:09 -0000 1.1 --- enforce_naming 24 May 2003 20:42:00 -0000 1.2 *************** *** 49,67 **** } - # Verify that all files are lowercase, except Makefiles - if ((substr($_, 0, 8) ne "Makefile") and (lc($_) ne $_)) { - print "All filenames must be completely lowercase except "; - print "Makefiles. ($directory/$_)\n"; - $exit_val = 1; - } - - # Verify that all Makefiles are properly mixed case (M UC, the rest LC) - if ((substr(lc($_), 0, 8) eq "makefile") and - (substr($_, 0, 8) ne "Makefile")) { - print "All Makefiles must have proper case (M should be "; - print "upper-case). ($directory/$_)\n"; - $exit_val = 1; - } - # Verify that we are not committing a file of the same name # as a directory --- 49,52 ---- |