diff --git a/dsl/build.sh b/dsl/build.sh index e206927..659611e 100644 --- a/dsl/build.sh +++ b/dsl/build.sh @@ -30,7 +30,7 @@ echoSuffix="\033[0m" buildCode() { # 构建 yvan-ext - if [ "${needBuild[3]}" != "0" ]; then + if [ "${needBuild[1]}" != "0" ]; then echo -e "$echoPrefix cd $codePath/yvan-ext $echoSuffix" cd "$codePath/yvan-ext" echo -e "$echoPrefix yarn $echoSuffix" @@ -45,7 +45,7 @@ buildCode() { fi # 构建 thinkingwms-ui/client - if [ "${needBuild[1]}" != "0" ]; then + if [ "${needBuild[2]}" != "0" ]; then echo -e "$echoPrefix cd $codePath/thinkingwms-ui/client $echoSuffix" cd "$codePath/thinkingwms-ui/client" echo -e "$echoPrefix yarn $echoSuffix"