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:
Dan Mick 2018-06-19 16:02:51 -07:00
parent 353c906ca7
commit 2d5eee8724

View File

@ -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