diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-06-18 17:19:45 +0300 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-06-18 17:19:45 +0300 |
commit | 939bda64f5f205c3c6ba774e5a69966053fa6222 (patch) | |
tree | 5979912d5d930d9a8981097ecaefde5e1a19432e /tools/file_packager.py | |
parent | c158595be87cdebfb90d5c1bc272673be9cc06e7 (diff) |
Fix bug in file_packager.py introduced in my recent pull request that caused all files to be skipped from being packaged if the path contains a relative '.' in its path name (e.g. './path/etc').
Diffstat (limited to 'tools/file_packager.py')
-rw-r--r-- | tools/file_packager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py index 99180b93..a65de3f7 100644 --- a/tools/file_packager.py +++ b/tools/file_packager.py @@ -174,7 +174,7 @@ def should_ignore(filename): components = filename.replace('\\\\', '/').replace('\\', '/').split('/') for c in components: - if c.startswith('.'): + if c.startswith('.') and c != '.' and c != '..': return True return False |