diff --git a/src/sugar3/activity/bundlebuilder.py b/src/sugar3/activity/bundlebuilder.py index 25819f61..ae70b695 100644 --- a/src/sugar3/activity/bundlebuilder.py +++ b/src/sugar3/activity/bundlebuilder.py @@ -205,7 +205,7 @@ class Packager(object): if not ignore: sub_path = os.path.join(root, line) if os.path.isdir(sub_path) \ - and os.path.isdir(os.path.join(sub_path, '.git')): + and os.path.exists(os.path.join(sub_path, '.git')): sub_list = self.get_files_in_git(sub_path) for f in sub_list: files.append(os.path.join(line, f))