]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph: make life easier on developers by handling in-tree runs
authorDan Mick <dan.mick@inktank.com>
Wed, 12 Jun 2013 02:46:53 +0000 (19:46 -0700)
committerDan Mick <dan.mick@inktank.com>
Wed, 12 Jun 2013 21:05:34 +0000 (14:05 -0700)
commite5184ea95031b7bea4264062de083045767d5dc3
tree95f8f13b2246591a332404d04b40cfaf293db3b4
parent701943a27857fcad7fbb405cf95a59c945fea815
ceph: make life easier on developers by handling in-tree runs

If <path-to-ceph> contains pybind and .libs:
- prepend <path-to-ceph>/pybind to PYTHONPATH
- append <path-to-ceph>/.libs to LD_LIBRARY_PATH if not already there
  and exec self so it takes effect

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/ceph.in