mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:23:30 +03:00
tidy-up: whitespace (more in Perl)
Follow-up to 8eab2b7086 #17896
Cherry-picked from #17877
Closes #17901
This commit is contained in:
parent
8eab2b7086
commit
ddcfd2d511
43 changed files with 84 additions and 98 deletions
|
|
@ -35,7 +35,7 @@ my $what=$ARGV[2];
|
|||
my $curl_protocols="";
|
||||
open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
|
||||
while(<CURL>) {
|
||||
$curl_protocols = $_ if ( /$what:/i );
|
||||
$curl_protocols = $_ if(/$what:/i);
|
||||
}
|
||||
close CURL;
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,7 @@ sub errout {
|
|||
exit 1;
|
||||
}
|
||||
|
||||
if($ARGV[0] eq "prepare")
|
||||
{
|
||||
if($ARGV[0] eq "prepare") {
|
||||
my $dirname = $ARGV[1];
|
||||
mkdir $dirname || errout "$!";
|
||||
chdir $dirname;
|
||||
|
|
@ -71,8 +70,7 @@ if($ARGV[0] eq "prepare")
|
|||
|
||||
exit 0;
|
||||
}
|
||||
elsif($ARGV[0] eq "postprocess")
|
||||
{
|
||||
elsif($ARGV[0] eq "postprocess") {
|
||||
my $dirname = $ARGV[1];
|
||||
my $logfile = $ARGV[2];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue