]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mrgw.sh: fix script
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 19 Dec 2016 22:33:18 +0000 (14:33 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 9 Mar 2017 17:18:55 +0000 (09:18 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/mrgw.sh

index 10fc20502dc6fc89f65aa07e2449f52bfc14f6a1..8d90691ae63d29c7ded4c2bd04708d3bce9a4119 100755 (executable)
@@ -6,8 +6,8 @@ script_root=`dirname $0`
 script_root=`(cd $script_root;pwd)`
 if [ -e CMakeCache.txt ]; then
     script_root=$PWD
-elif [ -e $root_path/../build/CMakeCache.txt ]; then
-    cd $root_path/../build
+elif [ -e $script_root/../build/CMakeCache.txt ]; then
+    cd $script_root/../build
     script_root=$PWD
 fi
 vstart_path=`dirname $0`