From aa93226e6006e079cafb052207449cbbe60553f2 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 14 Apr 2010 22:23:21 +0000 Subject: [PATCH] [backfire] backport timestamp check fixes from r20856 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20857 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/depends.mk | 2 +- scripts/timestamp.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/depends.mk b/include/depends.mk index 4c31eb398..65e9b25d5 100644 --- a/include/depends.mk +++ b/include/depends.mk @@ -11,7 +11,7 @@ # 3: tempfile for file listings # 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 diff --git a/scripts/timestamp.pl b/scripts/timestamp.pl index 3bf057151..e24d8149d 100755 --- a/scripts/timestamp.pl +++ b/scripts/timestamp.pl @@ -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 () { chomp; my $file = $_;