summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/checkwhite
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-10-24 02:55:10 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-10-24 02:55:10 +0200
commit4f2462a789efc631ac88149b621ac0d477007ee2 (patch)
tree6c8dbf28b6cf3db4178d3767f0135cf7fa914f3b /crawl-ref/source/util/checkwhite
parent12cb4c910304fa9920a03f45ec89109d122d1780 (diff)
downloadcrawl-ref-4f2462a789efc631ac88149b621ac0d477007ee2.tar.gz
crawl-ref-4f2462a789efc631ac88149b621ac0d477007ee2.zip
Whitespace and indentation fixes.
Diffstat (limited to 'crawl-ref/source/util/checkwhite')
-rwxr-xr-xcrawl-ref/source/util/checkwhite2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/checkwhite b/crawl-ref/source/util/checkwhite
index 16a150d3ff..c3e50ee7d0 100755
--- a/crawl-ref/source/util/checkwhite
+++ b/crawl-ref/source/util/checkwhite
@@ -22,7 +22,7 @@ for (@files)
next if /\.(png|gif|ttf|ico|icns|fig|tex|eps|pdf)$/i;
next if /\.(sln|vim|pbxproj|vsprops|plist)$/i;
next if /vcproj/;
- next if /^\.git(modules|attributes)$/;
+ next if m[(^|/)\.git(modules|attributes)$];
next if /\.(lex|tab)\./;
next if !/\./;
my $tab = /\.(rb|pl|sh)$/i; # Allow tabs for these files.