fix timestamp checks for build system paths which have '.svn' in their directory name

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20856 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2010-04-14 22:21:15 +00:00
parent 394ddd4798
commit da1d443c2c
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ sub get_ts($$) {
my $ts = 0;
my $fn = "";
$path .= "/" if( -d $path);
open FIND, "find $path -type f -and -not -path \\*.svn\\* -and -not -path \\*CVS\\* $options 2>/dev/null |";
open FIND, "find $path -type f -and -not -path \\*/.svn\\* -and -not -path \\*CVS\\* $options 2>/dev/null |";
while (<FIND>) {
chomp;
my $file = $_;