summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-02-15 09:11:43 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-16 12:39:47 +0000
commit366d134ebd93c765496ed1eeb408a4a592b11aa4 (patch)
treed066544e26a8c8ff2fda611be17febb466bf592e
parent71599dc5b49a0976a5b14f0a6577e83aef1dc9c7 (diff)
configure.bat: Fix call without arguments
If there are no arguments, echo will print its status, and config.opt.in will contain ECHO is off. Fix this by using "echo." idiom. This amends 57ad532e75f6221 Change-Id: I1697e59f23cd28256a4a6ce357eae70e36c49d5a Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 7c801ec93a90f856837c4c71f0497ac03c33b611) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--configure.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.bat b/configure.bat
index c78daf6e3b..5fd2d9091a 100644
--- a/configure.bat
+++ b/configure.bat
@@ -104,7 +104,7 @@ cd "%TOPQTDIR%"
rem Write config.opt if we're not currently -redo'ing
if "!rargs!" == "" (
- echo %*>config.opt.in
+ echo.%*>config.opt.in
cmake -DIN_FILE=config.opt.in -DOUT_FILE=config.opt -DIGNORE_ARGS=-top-level -P "%QTSRC%\cmake\QtWriteArgsFile.cmake"
)