From: Yehuda Sadeh Date: Mon, 19 Dec 2016 22:33:18 +0000 (-0800) Subject: mrgw.sh: fix script X-Git-Tag: v12.0.1~111^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9fbdd2b9839cccde02c280814b1f4bb70c35c229;p=ceph.git mrgw.sh: fix script Signed-off-by: Yehuda Sadeh --- diff --git a/src/mrgw.sh b/src/mrgw.sh index 10fc20502dc6..8d90691ae63d 100755 --- a/src/mrgw.sh +++ b/src/mrgw.sh @@ -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`