Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/debian/patches/2002_ignore_debian_and_quilt-patches.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/2002_ignore_debian_and_quilt-patches.patch')
-rw-r--r--debian/patches/2002_ignore_debian_and_quilt-patches.patch17
1 files changed, 8 insertions, 9 deletions
diff --git a/debian/patches/2002_ignore_debian_and_quilt-patches.patch b/debian/patches/2002_ignore_debian_and_quilt-patches.patch
index ca8bdfe..43f95ae 100644
--- a/debian/patches/2002_ignore_debian_and_quilt-patches.patch
+++ b/debian/patches/2002_ignore_debian_and_quilt-patches.patch
@@ -1,13 +1,12 @@
diff --git a/src/sugar/activity/bundlebuilder.py b/src/sugar/activity/bundlebuilder.py
-index 2480b03..01d06f3 100644
--- a/src/sugar/activity/bundlebuilder.py
+++ b/src/sugar/activity/bundlebuilder.py
-@@ -130,7 +130,7 @@ class BuildPackager(Packager):
- return files
-
- def _list_useful_files(self):
-- ignore_dirs = ['dist', '.git']
-+ ignore_dirs = ['dist', '.git', 'debian', '.pc']
- ignore_files = ['.gitignore', 'MANIFEST', '*.pyc', '*~', '*.bak']
+@@ -30,7 +30,7 @@ from fnmatch import fnmatch
+ from sugar import env
+ from sugar.bundle.activitybundle import ActivityBundle
+
+-IGNORE_DIRS = ['dist', '.git']
++IGNORE_DIRS = ['dist', '.git', 'debian', '.pc']
+ IGNORE_FILES = ['.gitignore', 'MANIFEST', '*.pyc', '*~', '*.bak', 'pseudo.po']
- return list_files(self.config.source_dir, ignore_dirs, ignore_files)
+ def list_files(base_dir, ignore_dirs=None, ignore_files=None):