]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.in: fix python libpath for automake as well 8362/head
authorJosh Durgin <jdurgin@redhat.com>
Tue, 29 Mar 2016 18:18:26 +0000 (11:18 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Tue, 29 Mar 2016 19:07:39 +0000 (12:07 -0700)
Follow-on to a041e5c9413fd816bc2858509319fa469fa233e5
due to confusion from .pyc files hanging around.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/ceph.in

index 321dfae2f876ae413d708437308bdf1dbc7b3126..5e5d7b9467534d3264fc6ea7a8ac5c23708bc950 100755 (executable)
@@ -79,8 +79,8 @@ if MYDIR.endswith('src') and \
    os.path.exists(os.path.join(MYDIR, 'pybind')) and \
    os.path.exists(os.path.join(MYDIR, 'build')):
 
-    respawn_in_path(os.path.join(MYDIR, '.libs'), "pybind",
-                                 get_pythonlib_dir())
+    python_libpath = os.path.join(MYDIR, 'build', get_pythonlib_dir())
+    respawn_in_path(os.path.join(MYDIR, '.libs'), 'pybind', python_libpath)
     if os.environ.has_key('PATH') and MYDIR not in os.environ['PATH']:
         os.environ['PATH'] += ':' + MYDIR