summaryrefslogtreecommitdiffstats
path: root/configure.bat
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-17 06:51:21 +0000
commit7a4ae4104000d75eebd59510b21a221f88489f79 (patch)
treefadcfcce70bd87ffd646eb0cbc7300f877705007 /configure.bat
parent9e0233b06fa0460ba7ab6655812eee9c1b486cb6 (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>
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"
)