diff --git a/configure.bat b/configure.bat index 54fa2b2110..c78daf6e3b 100644 --- a/configure.bat +++ b/configure.bat @@ -103,7 +103,7 @@ goto doneargs cd "%TOPQTDIR%" rem Write config.opt if we're not currently -redo'ing -if "%rargs%" == "" ( +if "!rargs!" == "" ( echo %*>config.opt.in cmake -DIN_FILE=config.opt.in -DOUT_FILE=config.opt -DIGNORE_ARGS=-top-level -P "%QTSRC%\cmake\QtWriteArgsFile.cmake" )