From 5e9351532abace64e11520ea8e9d5a29800aad91 Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Fri, 6 May 2022 18:20:49 +0800 Subject: [PATCH] =?UTF-8?q?windows=E8=BD=AClinux=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index cbecaa54..8b9d5a6f 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,9 @@ echo "Build QT base components require tool 'cbp2make' ..." -sudo apt-get install cbp2make +if [ -f /usr/bin/cbp2make ]; then + echo "--->installed already, nice." +else + sudo apt-get install cbp2make +fi systype=`cat /etc/issue | cut -d' ' -f1` arch=`arch` @@ -56,3 +60,4 @@ sudo rm -f *.h sudo rm -f *.cpp sudo rm -f .qmake.stash sudo rm -f Makefile +