From e3ad07ba61efbbb9667e4ae87f070f3da7cf29e8 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Tue, 29 Mar 2016 11:18:26 -0700 Subject: [PATCH] ceph.in: fix python libpath for automake as well Follow-on to a041e5c9413fd816bc2858509319fa469fa233e5 due to confusion from .pyc files hanging around. Signed-off-by: Josh Durgin --- src/ceph.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ceph.in b/src/ceph.in index 321dfae2f876..5e5d7b946753 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -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 -- 2.47.3