[jhbuild/wip/path-env: 15/22] environment: fix GST_REGISTRY handling
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild/wip/path-env: 15/22] environment: fix GST_REGISTRY handling
- Date: Sat, 28 Jun 2014 13:57:17 +0000 (UTC)
commit 2c53aec9c3907bfee4843aa145966dc9c02fa987
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Mar 12 17:50:09 2014 -0400
environment: fix GST_REGISTRY handling
GST_REGISTRY is not a PATH-style environment variable: it should contain
only one filename. For this reason, avoid using addpath() on it and
just set it directly.
jhbuild/environment.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/jhbuild/environment.py b/jhbuild/environment.py
index 248f78c..ad6ae84 100644
--- a/jhbuild/environment.py
+++ b/jhbuild/environment.py
@@ -186,11 +186,11 @@ def setup_env(prefix):
# GST_REGISTRY
gstregistry = os.path.join(prefix, '_jhbuild', 'gstreamer-0.10.registry')
- addpath('GST_REGISTRY', gstregistry)
+ os.environ['GST_REGISTRY'] = gstregistry
# GST_REGISTRY_1_0
gstregistry = os.path.join(prefix, '_jhbuild', 'gstreamer-1.0.registry')
- addpath('GST_REGISTRY_1_0', gstregistry)
+ os.environ['GST_REGISTRY_1_0'] = gstregistry
# ACLOCAL_PATH
aclocalpath = os.path.join(prefix, 'share', 'aclocal')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]