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