mirror of
https://github.com/ceph/ceph
synced 2024-12-26 21:43:10 +00:00
init-ceph: s/lib.2/lib.$MGR_PYTHON_VERSION_MAJOR/
we should not hardwire cython_modules's path to lib.2, it should be cython_modules/lib.3 if ceph-mgr requires python3. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
410ce76f62
commit
8039c46d49
@ -34,7 +34,7 @@ else
|
||||
ETCDIR=.
|
||||
ASSUME_DEV=1
|
||||
CEPH_LIB=$CEPH_ROOT/build/lib
|
||||
echo "$PYTHONPATH" | grep -q $CEPH_LIB || export PYTHONPATH=$CEPH_LIB/cython_modules/lib.2:$PYTHONPATH
|
||||
echo "$PYTHONPATH" | grep -q $CEPH_LIB || export PYTHONPATH=$CEPH_LIB/cython_modules/lib.@MGR_PYTHON_VERSION_MAJOR@:$PYTHONPATH
|
||||
echo "$LD_LIBRARY_PATH" | grep -q $CEPH_LIB || export LD_LIBRARY_PATH=$CEPH_LIB:$LD_LIBRARY_PATH
|
||||
echo "$DYLD_LIBRARY_PATH" | grep -q $CEPH_LIB || export DYLD_LIBRARY_PATH=$CEPH_LIB:$DYLD_LIBRARY_PATH
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user