From cf9ca989a7d9989526a6f5c15b5f6038df6a6f41 Mon Sep 17 00:00:00 2001 From: "zhuzhao.cx" Date: Fri, 21 Jun 2019 20:10:20 +0800 Subject: [PATCH] modify scripts --- scripts/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start.sh b/scripts/start.sh index 6767f7b..47ce723 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -2,7 +2,7 @@ catalog=$(dirname "$0") -cd "${catalog}"/../ || exit 1 +cd "${catalog}" || exit 1 if [ $# != 2 ] ; then echo "USAGE: $0 [conf] [mode]" @@ -16,4 +16,4 @@ if [ "Darwin" == "$(uname -s)" ];then exit 1 fi -./bin/hypervisor --daemon --exec="./bin/$name -conf=$1 -type=$2 2>&1 1>> $name.output" 1>>hypervisor.output 2>&1 +./hypervisor --daemon --exec="./$name -conf=$1 -type=$2 1>>$name.output 2>&1" 1>>hypervisor.output 2>&1