mirror of
https://github.com/curl/curl.git
synced 2026-08-03 21:20:29 +03:00
parent
31add10322
commit
51f813308e
10 changed files with 22 additions and 22 deletions
|
|
@ -38,7 +38,7 @@ sub convert {
|
|||
my $nroff = "$cd";
|
||||
$nroff =~ s/\.md\z/.3/;
|
||||
print "$dir/$cd = $dir/$nroff\n";
|
||||
system("./scripts/cd2nroff -d $dir $dir/$cd");
|
||||
system('./scripts/cd2nroff', ('-d', $dir, "$dir/$cd"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,31 +53,31 @@ do {
|
|||
my $num = rand(scalar(@disable) - 2) + 2;
|
||||
|
||||
my $c = 0;
|
||||
my $arg;
|
||||
my @arg;
|
||||
for my $d (shuffle @disable) {
|
||||
$arg .= " $d";
|
||||
push @arg, $d;
|
||||
if(++$c >= $num) {
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
my @stls = shuffle @tls;
|
||||
$arg.= " ".$stls[0];
|
||||
push @arg, @stls;
|
||||
|
||||
system("make clean");
|
||||
if(system("./configure $arg")) {
|
||||
system('make', ('clean'));
|
||||
if(system('./configure', @arg)) {
|
||||
print STDERR "configure problem\n";
|
||||
print STDERR "./configure $arg\n";
|
||||
print STDERR "./configure " . join(' ', @arg) . "\n";
|
||||
exit 1;
|
||||
}
|
||||
if(system("make -sj10")) {
|
||||
if(system('make', ('-sj10'))) {
|
||||
print STDERR "Build problem\n";
|
||||
print STDERR "./configure $arg\n";
|
||||
print STDERR "./configure " . join(' ', @arg) . "\n";
|
||||
exit 1;
|
||||
}
|
||||
if(system("./src/curl -V 2>/dev/null")) {
|
||||
print STDERR "Running problem\n";
|
||||
print STDERR "./configure $arg\n";
|
||||
print STDERR "./configure " . join(' ', @arg) . "\n";
|
||||
exit 1;
|
||||
}
|
||||
} while(1);
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ sub eol_detect {
|
|||
|
||||
my $issues = 0;
|
||||
|
||||
open(my $git_ls_files, '-|', 'git ls-files') or die "Failed running git ls-files: $!";
|
||||
open(my $git_ls_files, '-|', 'git', 'ls-files') or die "Failed running git ls-files: $!";
|
||||
while(my $filename = <$git_ls_files>) {
|
||||
chomp $filename;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue