From e9ec8ece00ecc4aca91db5f0aff472ccd48408e0 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Tue, 5 Nov 2024 21:07:15 +0800 Subject: [PATCH] update linux. --- resources/build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/build.sh b/resources/build.sh index 5707e22..ec8895e 100755 --- a/resources/build.sh +++ b/resources/build.sh @@ -1,11 +1,12 @@ #!/bin/bash base_path=$(pwd) -if [ $base_path == /home/* ]; then - build_path=${base_path}/build -else +if [[ $base_path =~ ^/mnt/ ]]; then build_path=/tmp/build +else + build_path=${base_path}/build fi +echo "build path: $build_path" qt_prefix_path="/opt/Qt/6.8.0/gcc_64" debug_deploy=false