[jhbuild] systeminstall: ignore pkg-config files from emscripten path
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] systeminstall: ignore pkg-config files from emscripten path
- Date: Sun, 1 May 2016 16:46:51 +0000 (UTC)
commit 8aa2f385c3012cc6530320637d8c3c9dd6a937ba
Author: Frédéric Péters <fpeters 0d be>
Date: Sun May 1 18:46:26 2016 +0200
systeminstall: ignore pkg-config files from emscripten path
jhbuild/utils/systeminstall.py | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/jhbuild/utils/systeminstall.py b/jhbuild/utils/systeminstall.py
index d941a16..10e18d6 100644
--- a/jhbuild/utils/systeminstall.py
+++ b/jhbuild/utils/systeminstall.py
@@ -440,10 +440,13 @@ class AptSystemInstall(SystemInstall):
continue
name = parts[0]
path = parts[1]
- # No idea why the LSB has forks of the pkg-config files
- if path.find('/lsb3') != -1:
+ # Ignore copies of the pkg-config files that are not from the
+ # libraries.
+ if '/lsb3' in path:
continue
-
+ if '/emscripten' in path:
+ continue
+
# otherwise for now, just take the first match
return name
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]