From 2d5eee87247fba2e91351ea96325311e46ffb942 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 19 Jun 2018 16:02:51 -0700 Subject: [PATCH] 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 --- src/ceph.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph.in b/src/ceph.in index c37ce6d846b18..2a5c640a5356c 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -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 -- 2.39.5