From b064dce7f55cd2d767d60efdc5d66011f2ea35ef Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 30 Jun 2006 04:10:14 +0000 Subject: [PATCH] Ignore files starting with ".". On MacOS, these may be resource forks, but in any case, ignoring dotfiles is relatively standard practice. git-svn-id: http://svn.openlayers.org/trunk/openlayers@839 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tools/mergejs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mergejs.py b/tools/mergejs.py index 94302569e8..8366453d94 100755 --- a/tools/mergejs.py +++ b/tools/mergejs.py @@ -149,7 +149,7 @@ if __name__ == "__main__": ## Find all the Javascript source files for root, dirs, files in os.walk(sourceDirectory): for filename in files: - if filename.endswith(SUFFIX_JAVASCRIPT): + if filename.endswith(SUFFIX_JAVASCRIPT) and not filename.startswith("."): filepath = os.path.join(root, filename)[len(sourceDirectory)+1:] if (not cfg) or (filepath not in cfg.exclude): allFiles.append(filepath)