mirror of
https://github.com/curl/curl.git
synced 2026-07-22 18:57:15 +03:00
fixed nasty cp warnings about not beeing able to preserve ownership.
This commit is contained in:
parent
9ca688c8e7
commit
5df5a2aa54
1 changed files with 3 additions and 2 deletions
|
|
@ -477,13 +477,14 @@ if ($configurebuild) {
|
|||
mydie "configure didn't work";
|
||||
}
|
||||
} else {
|
||||
logit "Copying files to build dir...";
|
||||
if (($^O eq 'MSWin32') && ($targetos !~ /netware/)) {
|
||||
system("xcopy /s /q ..\\$CURLDIR .");
|
||||
system("buildconf.bat");
|
||||
}
|
||||
elsif (($^O eq 'linux') || ($targetos =~ /netware/)) {
|
||||
system("cp -afr ../$CURLDIR/* .");
|
||||
system("cp -af ../$CURLDIR/Makefile.dist Makefile");
|
||||
system("cp -afr --no-preserve=ownership ../$CURLDIR/* .");
|
||||
system("cp -af --no-preserve=ownership ../$CURLDIR/Makefile.dist Makefile");
|
||||
system("$make -i -C lib -f Makefile.$targetos prebuild");
|
||||
system("$make -i -C src -f Makefile.$targetos prebuild");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue