mirror of
https://github.com/ceph/ceph
synced 2025-03-22 10:17:23 +00:00
src/ceph.in: dev mode: add build path to beginning of PATH, not end
The build/ executables go with the LD_LIBRARY_PATH and PYTHONPATH Signed-off-by: Dan Mick <dan.mick@redhat.com>
This commit is contained in:
parent
353c906ca7
commit
2d5eee8724
@ -120,7 +120,7 @@ if os.path.exists(os.path.join(MYPDIR, "CMakeCache.txt")) \
|
||||
respawn_in_path(lib_path, pybind_path, pythonlib_path)
|
||||
|
||||
if 'PATH' in os.environ and bin_path not in os.environ['PATH']:
|
||||
os.environ['PATH'] += ':' + bin_path
|
||||
os.environ['PATH'] = os.pathsep.join([bin_path, os.environ['PATH']])
|
||||
|
||||
import argparse
|
||||
import errno
|
||||
|
Loading…
Reference in New Issue
Block a user