Skip to content

Commit

Permalink
configure.bat: Fix call without arguments
Browse files Browse the repository at this point in the history
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 57ad532

Pick-to: 6.2 6.3
Change-Id: I1697e59f23cd28256a4a6ce357eae70e36c49d5a
Reviewed-by: Jörg Bornemann <[email protected]>
  • Loading branch information
kkoehne committed Feb 16, 2022
1 parent 1f70894 commit 7c801ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit 7c801ec

Please sign in to comment.