mirror of
https://github.com/curl/curl.git
synced 2026-04-19 14:21:15 +03:00
winbuild: MS-DOS batch tidy-ups
- prefer `.bat` extension over `.cmd` for MS-DOS batch, which also avoids confusion with OS/400 `.cmd` files. - cleanup `echo` quotes, drop them consistently. - delete empty output line from one of the error branches. - prefer lowercase commands like the rest of MS-DOS batches. - delete a contraction. - drop backticks from error message. - use `nmake.exe` consistently. - use equal/not-equal operator style consistently. - inline a single-line `if` branch. - delete exceptions and rules dealing with Windows `.cmd` extension. Closes #14084
This commit is contained in:
parent
480883cf27
commit
092c07d119
5 changed files with 9 additions and 19 deletions
4
.github/scripts/spacecheck.pl
vendored
4
.github/scripts/spacecheck.pl
vendored
|
|
@ -30,7 +30,7 @@ my @tabs = (
|
|||
"^m4/zz40-xc-ovr.m4",
|
||||
"Makefile\\.[a-z]+\$",
|
||||
"/mkfile",
|
||||
"\\.(bat|cmd|sln|vc)\$",
|
||||
"\\.(bat|sln|vc)\$",
|
||||
"^tests/certs/.+\\.der\$",
|
||||
"^tests/data/test",
|
||||
);
|
||||
|
|
@ -43,7 +43,7 @@ my @mixed_eol = (
|
|||
|
||||
my @need_crlf = (
|
||||
"\\.(bat|sln)\$",
|
||||
"^winbuild/.+\\.(cmd|md)\$",
|
||||
"^winbuild/.+\\.md\$",
|
||||
);
|
||||
|
||||
my @space_at_eol = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue