[jhbuild] [config] Fix command to get python packages dir
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [jhbuild] [config] Fix command to get python packages dir
- Date: Thu, 20 Aug 2009 09:30:55 +0000 (UTC)
commit 8c5b9640b7afcc0cca092e544899709a87ae6b02
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Thu Aug 20 10:33:54 2009 +0200
[config] Fix command to get python packages dir
jhbuild/config.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/config.py b/jhbuild/config.py
index 47cad26..4b42ef0 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -385,7 +385,7 @@ class Config:
# actual value by asking distutils
# <http://bugzilla.gnome.org/show_bug.cgi?id=575426>
try:
- python_packages_dir = get_output([python_bin, 'c',
+ python_packages_dir = get_output([python_bin, '-c',
'import os, distutils.sysconfig; '\
'print distutils.sysconfig.get_python_lib(prefix="").split(os.path.sep)[-1]'],
get_stderr=False).strip()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]