1
0
mirror of synced 2026-01-18 16:56:58 +00:00

t/shell-syntax.t: Skip .git directories, too

This commit is contained in:
Axel Beckert 2010-04-15 02:57:54 +02:00
parent 105e53b355
commit a2ddaceab9

View File

@ -35,7 +35,7 @@ sub checkFile
return if ( ! -f $file );
# Finally mercurial files are fine.
return if ( $file =~ /\.hg\// );
return if ( $file =~ /\.(hg|git)\// );
# See if it is a shell script.
my $isShell = 0;