mirror of
https://github.com/curl/curl.git
synced 2026-01-18 17:21:26 +01:00
tidy-up: miscellaneous
- schannel: delete superfluous parenthesis. - tftp: delete stray space from log output. - ws: update guard comment. - docs/examples: constify variables. - runtests/servers: enclose unknown parameter between quotes. - scripts/perlcheck.sh: drop redundant grep `-E` option. - THANKS: move names from comments to THANKS. - sync `--depth` option style across scripts. - sync git repo URL ending between some scripts. - BINDINGS.md: drop protocol from archive.org URL path. - whitespace, indent, unfold lines. Closes #19565
This commit is contained in:
@@ -357,7 +357,7 @@ if(!$opt_n) {
|
||||
report "LWP is not available (LWP::UserAgent not found)";
|
||||
exit 1;
|
||||
}
|
||||
my $ua = new LWP::UserAgent(agent => "$0/$version");
|
||||
my $ua = new LWP::UserAgent(agent => "$0/$version");
|
||||
$ua->env_proxy();
|
||||
$resp = $ua->mirror($url, $txt);
|
||||
if($resp && $resp->code eq '304') {
|
||||
|
||||
@@ -42,7 +42,7 @@ echo "parallel: ${procs}"
|
||||
elif git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
||||
{
|
||||
git ls-files | grep -E '\.(pl|pm)$'
|
||||
git grep -l -E '^#!/usr/bin/env perl'
|
||||
git grep -l '^#!/usr/bin/env perl'
|
||||
} | sort -u
|
||||
else
|
||||
# strip off the leading ./ to make the grep regexes work properly
|
||||
|
||||
Reference in New Issue
Block a user