diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2024-03-01 11:45:10 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2024-03-05 11:56:24 +0100 |
commit | 073185ad2e29e565bc9f804dc8c1d278121020d6 (patch) | |
tree | 61900a8f3dccafa7fb4a1270c7e767fbdb8aa7f3 /tests/testserver/common/ssl.sh | |
parent | 477587651109a4d7875b3f008b94e15376556b7d (diff) |
configure.bat: Fix errors on Windows
Since the last change to configure.bat we got two of these errors,
regardless of the arguments passed to configure:
The system cannot find the drive specified.
This is due to the quirky semantics of the :: commenting style that's
used within an if block. Lines starting with :: might be interpreted as
starting with a drive letter.
Switch to rem for comments to avoid such behavior.
Note that we have to quote the comments, because
rem https://www.example.com/?foo=bar
will split the command at the equal sign and complain about
'unexpected bar'.
Mind-boggling trivia:
rem https://www.example.com/?something_without_equal
will display the help text for the REM built-in, because /? is somewhere
in the string.
Change-Id: I2ffcc6bd4312d24bdde2b7f1e336f827f503e491
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/testserver/common/ssl.sh')
0 files changed, 0 insertions, 0 deletions