[jhbuild/wip/path-env] environment: fix GST_REGISTRY handling
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild/wip/path-env] environment: fix GST_REGISTRY handling
- Date: Wed, 12 Mar 2014 21:51:01 +0000 (UTC)
commit db7a82f3607374dbf996f6abf0ed14d3eb67297e
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]