Browse Source

dist: Fix line of code that mysteriously disappeared

rdb 5 years ago
parent
commit
4e6395e07a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      direct/src/dist/commands.py

+ 1 - 0
direct/src/dist/commands.py

@@ -995,6 +995,7 @@ class build_apps(setuptools.Command):
                    not pattern.pattern.endswith('/**'):
                     continue
 
+                pattern_dir = p3d.Filename(pattern.pattern).get_dirname()
                 if abspath.startswith(pattern_dir + '/'):
                     return True