diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-04-14 22:21:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-04-14 22:21:15 +0000 |
commit | 091934e7fb50d6239ed42b14bfb350984adbc141 (patch) | |
tree | 6ab1e97125bd6925516e817d545a9f0a89cb3587 | |
parent | 34474b8840a22b973aa4d8f735d0e0de52ceb9cc (diff) | |
download | mtk-20170518-091934e7fb50d6239ed42b14bfb350984adbc141.zip mtk-20170518-091934e7fb50d6239ed42b14bfb350984adbc141.tar.gz mtk-20170518-091934e7fb50d6239ed42b14bfb350984adbc141.tar.bz2 |
fix timestamp checks for build system paths which have '.svn' in their directory name
SVN-Revision: 20856
-rw-r--r-- | include/depends.mk | 2 | ||||
-rwxr-xr-x | scripts/timestamp.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/depends.mk b/include/depends.mk index 4c31eb3..65e9b25 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 3bf0571..e24d814 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 (<FIND>) { chomp; my $file = $_; |