Skip to content

Commit

Permalink
Merge Lukas Oberhuber's 'Recursive_Copy' into master.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Dec 27, 2021
2 parents b009d13 + 75712e0 commit 6dd89ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bundler/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ def copy_target_glob_recursive(self, project, source, dest):
continue
utils.makedirs(destdir)
for globbed_source in glob_list:
self.copy_file(project, globbed_source, destdir)
if os.path.isfile(globbed_source):
self.copy_file(project, globbed_source, destdir)

def copy_target_recursive(self, project, source, dest):
for root, dirs, files in os.walk(source):
Expand Down

0 comments on commit 6dd89ea

Please sign in to comment.