Author: nextgens
Date: 2007-12-14 14:37:20 +0000 (Fri, 14 Dec 2007)
New Revision: 16533

Modified:
   trunk/scripts/verify_indent.sh
Log:
scripts: tweak the regexp

Modified: trunk/scripts/verify_indent.sh
===================================================================
--- trunk/scripts/verify_indent.sh      2007-12-14 14:29:31 UTC (rev 16532)
+++ trunk/scripts/verify_indent.sh      2007-12-14 14:37:20 UTC (rev 16533)
@@ -14,7 +14,7 @@
 JAVACOPT=" -target 1.4 -nowarn -g:none"
 
CLASSPATH="/var/www/downloads/alpha/freenet-r$PREVIOUSREV-snapshot.jar:/var/www/downloads/alpha/freenet-ext.jar"

-if [[ $(svnlook info $REPOSITORY --revision $REV | grep -icE '^[ ]*indent[ 
]*$') -gt 0 ]]
+if [[ $(svnlook info $REPOSITORY --revision $REV | grep -icE '^[ 
]*[Ii]ndent(ing)?([ ])*(:|$)') -gt 0 ]]
 then
        mkdir $TMP/$RAND
        cd $TMP/$RAND


Reply via email to