summaryrefslogtreecommitdiff
path: root/configure.bat
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-02-15 09:11:43 +0100
committerKai Köhne <kai.koehne@qt.io>2022-02-16 12:05:48 +0100
commit7c801ec93a90f856837c4c71f0497ac03c33b611 (patch)
tree2eb8a4259f00cf25400f67e014cd90ab028f4322 /configure.bat
parent1f7089437af2e08af06a53e4a7d1e81539dc8fbf (diff)
downloadqtbase-7c801ec93a90f856837c4c71f0497ac03c33b611.tar.gz
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 Pick-to: 6.2 6.3 Change-Id: I1697e59f23cd28256a4a6ce357eae70e36c49d5a Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'configure.bat')
-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"
)