aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-06-28 01:20:30 +0000
committerGunter Knauf <gk@gknw.de>2007-06-28 01:20:30 +0000
commit5df5a2aa542860782113df1a839b14ec73dc9873 (patch)
tree92529d3df64b67be7b73f37553961505cc82327a /tests
parent9ca688c8e71c9b3313ceeaf1f4037341befd3c0c (diff)
fixed nasty cp warnings about not beeing able to preserve ownership.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/testcurl.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 6948bfccc..8a3d7becb 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -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");
}