[jhbuild] sysdeps: Ensure we run pkg-config from the system (GNOME bug 655553)
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] sysdeps: Ensure we run pkg-config from the system (GNOME bug 655553)
- Date: Fri, 2 Sep 2011 12:14:00 +0000 (UTC)
commit 98860ad416959f4dbab072aad76064c0dc3861b0
Author: Craig Keogh <cskeogh adam com au>
Date: Fri Sep 2 21:41:24 2011 +0930
sysdeps: Ensure we run pkg-config from the system (GNOME bug 655553)
jhbuild/utils/systeminstall.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/utils/systeminstall.py b/jhbuild/utils/systeminstall.py
index faf5cec..cf8a937 100644
--- a/jhbuild/utils/systeminstall.py
+++ b/jhbuild/utils/systeminstall.py
@@ -37,7 +37,7 @@ def get_installed_pkgconfigs(config):
pkgs.append(pkg)
args = ['pkg-config', '--modversion']
args.extend(pkgs)
- proc = subprocess.Popen(args, stdout=subprocess.PIPE, close_fds=True)
+ proc = subprocess.Popen(args, stdout=subprocess.PIPE, env=config.get_original_environment(), close_fds=True)
stdout = proc.communicate()[0]
proc.wait()
pkgversions = {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]