mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
Merge pull request #22628 from dmick/wip-cli-path
src/ceph.in: dev mode: add build path to beginning of PATH, not end
This commit is contained in:
commit
96028cf94d
@ -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