fix timestamp checks for build system paths which have '.svn' in their directory...
[openwrt/svn-archive/archive.git] / scripts / timestamp.pl
index 3bf057151f43d0725822066e7acbbd6daa721ccc..e24d8149d9c8754ba72e8918e09cd9c390427251 100755 (executable)
@@ -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 = $_;