From: Josh Durgin Date: Tue, 29 Mar 2016 18:18:26 +0000 (-0700) Subject: ceph.in: fix python libpath for automake as well X-Git-Tag: v10.1.1~67^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8362%2Fhead;p=ceph.git 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 --- diff --git a/src/ceph.in b/src/ceph.in index 321dfae2f87..5e5d7b94675 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