mrgw.sh: fix script

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2016-12-19 14:33:18 -08:00
parent 21200e8dbc
commit 9fbdd2b983

View File

@ -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`