mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
reduced duplicate code.
This commit is contained in:
parent
4a79462c3e
commit
e37b1b0623
@ -624,11 +624,6 @@ if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) {
|
|||||||
if ($configurebuild) {
|
if ($configurebuild) {
|
||||||
logit "$make -i";
|
logit "$make -i";
|
||||||
open(F, "$make -i 2>&1 |") or die;
|
open(F, "$make -i 2>&1 |") or die;
|
||||||
while (<F>) {
|
|
||||||
s/$pwd//g;
|
|
||||||
print;
|
|
||||||
}
|
|
||||||
close(F);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
logit "$make -i $targetos";
|
logit "$make -i $targetos";
|
||||||
@ -643,12 +638,12 @@ else {
|
|||||||
else {
|
else {
|
||||||
open(F, "$make -i $targetos 2>&1 |") or die;
|
open(F, "$make -i $targetos 2>&1 |") or die;
|
||||||
}
|
}
|
||||||
while (<F>) {
|
|
||||||
s/$pwd//g;
|
|
||||||
print;
|
|
||||||
}
|
|
||||||
close(F);
|
|
||||||
}
|
}
|
||||||
|
while (<F>) {
|
||||||
|
s/$pwd//g;
|
||||||
|
print;
|
||||||
|
}
|
||||||
|
close(F);
|
||||||
|
|
||||||
if (-f "lib/libcurl$libext") {
|
if (-f "lib/libcurl$libext") {
|
||||||
logit "libcurl was created fine (libcurl$libext)";
|
logit "libcurl was created fine (libcurl$libext)";
|
||||||
|
Loading…
Reference in New Issue
Block a user