]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
vstart.sh: correct ceph-run path
authorChangcheng Liu <changcheng.liu@intel.com>
Mon, 6 May 2019 02:29:11 +0000 (10:29 +0800)
committerChangcheng Liu <changcheng.liu@intel.com>
Mon, 6 May 2019 07:17:33 +0000 (15:17 +0800)
ceph-run is in the same directory as vstart.sh. It's often that
vstart.sh is run under build directory. Without giving the right
directory, ceph-run file can't be found.

Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
src/vstart.sh

index e83dc379b27b60697034946b79200381bd55d053..e55f5d6cd83a479cb99b269eccc6dfdfb3e66862 100755 (executable)
@@ -472,7 +472,7 @@ run() {
         if [ "$nodaemon" -eq 0 ]; then
             prun "$@"
         else
-            prunb ./ceph-run "$@" -f
+            prunb ${CEPH_ROOT}/src/ceph-run "$@" -f
         fi
     fi
 }