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:
Dan Mick 2018-06-20 19:10:25 -07:00 committed by GitHub
commit 96028cf94d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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