From ca51479e37e58ae205c5adafa2aa47b25cceb40c Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Fri, 20 May 2022 14:48:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=89=8D=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=B8=B4=E6=97=B6=E7=9B=AE=E5=BD=95=E4=B8=8B=E7=9A=84=E6=89=80?= =?UTF-8?q?=E6=9C=89=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 1a85b84..1d0fcb5 100755 --- a/build.sh +++ b/build.sh @@ -77,7 +77,11 @@ elif [ "$sys" == "kylin" ];then fi cd ../ -mkdir build +if [ -f ./build/CMakeCache.txt ]; then + rm -rf ./build/* +else + mkdir build +fi cd build cmake ../code_device make