mirror of
https://github.com/curl/curl.git
synced 2026-06-13 16:45:36 +03:00
s3
This commit is contained in:
parent
1ff63dde7d
commit
f58547735c
5 changed files with 7 additions and 7 deletions
|
|
@ -90,7 +90,7 @@ if(defined $ARGV[0] && $ARGV[0] eq "--dry-run") {
|
|||
}
|
||||
|
||||
# list all files to scan for links
|
||||
my @files = `git ls-files docs include lib scripts src`;
|
||||
my @files = qx(git ls-files docs include lib scripts src);
|
||||
|
||||
sub storelink {
|
||||
my ($f, $line, $link) = @_;
|
||||
|
|
|
|||
|
|
@ -309,7 +309,7 @@ if(!$opt_n) {
|
|||
|
||||
# If we have an HTTPS URL then use curl
|
||||
if($url =~ /^https:\/\//i) {
|
||||
my $curl = `curl -V`;
|
||||
my $curl = qx(curl -V);
|
||||
if($curl) {
|
||||
if($curl =~ /^Protocols:.* https( |$)/m) {
|
||||
report "Get certdata with curl!";
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ use List::Util qw/shuffle/;
|
|||
my @disable;
|
||||
|
||||
sub getoptions {
|
||||
my @all = `./configure --help`;
|
||||
my @all = qx(./configure --help);
|
||||
for my $o (@all) {
|
||||
chomp $o;
|
||||
if($o =~ /(--disable-[^ ]*)/) {
|
||||
|
|
|
|||
|
|
@ -58,8 +58,8 @@ use strict;
|
|||
use warnings;
|
||||
|
||||
my $cleanup = (@ARGV && $ARGV[0] eq "cleanup");
|
||||
my @gitlog = `git log @^{/RELEASE-NOTES:.synced}..` if(!$cleanup);
|
||||
my @releasenotes = `cat RELEASE-NOTES`;
|
||||
my @gitlog = qx(git log @^{/RELEASE-NOTES:.synced}..) if(!$cleanup);
|
||||
my @releasenotes = qx(cat RELEASE-NOTES);
|
||||
|
||||
my @o; # the entire new RELEASE-NOTES
|
||||
my @refused; # [num] = [2 bits of use info]
|
||||
|
|
|
|||
|
|
@ -206,11 +206,11 @@ sub initserverconfig {
|
|||
$USER = $ENV{LOGNAME}; # Some Unix (I think)
|
||||
}
|
||||
if(!$USER) {
|
||||
$USER = `whoami`;
|
||||
$USER = qx(whoami);
|
||||
chomp $USER;
|
||||
}
|
||||
if(!$USER) {
|
||||
$USER = `id -un`;
|
||||
$USER = qx(id -un);
|
||||
chomp $USER;
|
||||
}
|
||||
init_serverpidfile_hash();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue