diff options
Diffstat (limited to '')
-rwxr-xr-x | src/init-ceph.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init-ceph.in b/src/init-ceph.in index 9a0f95c65bd..c9ecc5d8d58 100755 --- a/src/init-ceph.in +++ b/src/init-ceph.in @@ -33,6 +33,10 @@ else LIBEXECDIR=$CEPH_ROOT/src 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 "$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 BINDIR=@bindir@ SBINDIR=@sbindir@ |