Skip to content

Commit

Permalink
cmake: fix mrun to handle cmake build structure
Browse files Browse the repository at this point in the history
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
  • Loading branch information
oritwas committed Mar 21, 2016
1 parent 22cac93 commit cbdd317
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/mrun
Expand Up @@ -5,7 +5,12 @@
root=`dirname $0`
run_name=$1
command=$2
CEPH_BIN=$root

if [ -e CMakeCache.txt ]; then
CEPH_BIN=$PWD/src
fi

shift 2

$root/$command -c $root/run/$run_name/ceph.conf "$@"
$CEPH_BIN/$command -c $root/run/$run_name/ceph.conf "$@"

0 comments on commit cbdd317

Please sign in to comment.