1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 16:43:09 +02:00

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:
nbd 2010-04-14 22:21:15 +00:00
parent dc81db4feb
commit 327ab14655
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
# 3: tempfile for file listings # 3: tempfile for file listings
# 4: find options # 4: find options
DEP_FINDPARAMS := -x "*.svn*" -x ".*" -x "*.svn*" -x "*:*" -x "*\!*" -x "* *" -x "*\\\#*" -x "*/.*_check" DEP_FINDPARAMS := -x "*/.svn*" -x ".*" -x "*:*" -x "*\!*" -x "* *" -x "*\\\#*" -x "*/.*_check"
find_md5=find $(1) -type f $(patsubst -x,-and -not -path,$(DEP_FINDPARAMS) $(2)) | md5s find_md5=find $(1) -type f $(patsubst -x,-and -not -path,$(DEP_FINDPARAMS) $(2)) | md5s

View File

@ -14,7 +14,7 @@ sub get_ts($$) {
my $ts = 0; my $ts = 0;
my $fn = ""; my $fn = "";
$path .= "/" if( -d $path); $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>) { while (<FIND>) {
chomp; chomp;
my $file = $_; my $file = $_;