diff options
author | Mihai Prica <prica.mihai@gmail.com> | 2013-07-23 10:56:00 +0300 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:59 -0400 |
commit | 526a965c33fb8fca5e7b2492c91645f9d8cb8ea3 (patch) | |
tree | 215c353e24b87d5b225353af591f1a69722ee41f /meta-openstack/recipes-devtools/python/python-horizon | |
parent | 6e5110f45799bc63ee15e75ce127837e6ec36811 (diff) | |
download | meta-cloud-services-526a965c33fb8fca5e7b2492c91645f9d8cb8ea3.tar.gz |
python-horizon: Fix bindir search path
An error occurs because horizon searches for lessc in
/usr/lib/python2.7/site-packages/bin while this is
installed in /usr/share/bin.
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-horizon')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-horizon/fix_bindir_path.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-horizon/fix_bindir_path.patch b/meta-openstack/recipes-devtools/python/python-horizon/fix_bindir_path.patch new file mode 100644 index 0000000..c9d0b1a --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-horizon/fix_bindir_path.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Index: horizon-2013.1.2/openstack_dashboard/settings.py | ||
4 | =================================================================== | ||
5 | --- horizon-2013.1.2.orig/openstack_dashboard/settings.py | ||
6 | +++ horizon-2013.1.2/openstack_dashboard/settings.py | ||
7 | @@ -29,7 +29,7 @@ warnings.formatwarning = lambda message, | ||
8 | '%s: %s' % (category.__name__, message) | ||
9 | |||
10 | ROOT_PATH = os.path.dirname(os.path.abspath(__file__)) | ||
11 | -BIN_DIR = os.path.abspath(os.path.join(ROOT_PATH, '..', 'bin')) | ||
12 | +BIN_DIR = os.path.abspath(os.path.join(ROOT_PATH, 'bin')) | ||
13 | |||
14 | if ROOT_PATH not in sys.path: | ||
15 | sys.path.append(ROOT_PATH) | ||