From 5e811a21ef360549e75477c799ed5cfe068d9214 Mon Sep 17 00:00:00 2001 From: modehua Date: Sat, 14 Jan 2023 11:45:41 +0800 Subject: [PATCH] set build payh --- build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index f31ef42..be0413d 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,10 @@ cpu=$(arch) #cpu架构 sys=$(cat /etc/issue) sys=${sys%% *} #操作系统 - +script_dir=$(cd $(dirname $0);pwd) +cd $script_dir +echo $script_dir +pwd mainverstr=$(cat ../sdk/include/huagao/brand.h |grep VERSION_MAIN) mainverstr=${mainverstr: -3} mainverstr=$(echo $mainverstr)