From 913362a8c56077e08f8a8bcb1c21674d1ed7cbe0 Mon Sep 17 00:00:00 2001 From: offhub <6871698+offhub@users.noreply.github.com> Date: Sun, 24 Nov 2024 01:11:15 +0300 Subject: [PATCH] Update buildVariables.cmd --- Installer/buildVariables.cmd | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Installer/buildVariables.cmd b/Installer/buildVariables.cmd index f7f36ec0..23ea1331 100644 --- a/Installer/buildVariables.cmd +++ b/Installer/buildVariables.cmd @@ -12,9 +12,11 @@ set "ghQtBuilds_hash_x64=673c288feeabd11ec66f9f454d49cde3945cbd3e3f71283b7a6c4df REM catch build_qt6 set "allArgs=%*" -set "allArgs=%allArgs:build_qt6=% -if not "%*" == "%allArgs:build_qt6=%" ( - set "qt_version=%qt6_version%" -) else ( - set "qt_version=%qt_version%" +set "allArgsCatch=%allArgs:build_qt6=%" +if not "%~1" == "" ( + if not "%allArgs%" == "%allArgsCatch%" ( + set "qt_version=%qt6_version%" + ) else ( + set "qt_version=%qt_version%" + ) )