]> granicus.if.org Git - curl/commitdiff
fixed nasty cp warnings about not beeing able to preserve ownership.
authorGunter Knauf <gk@gknw.de>
Thu, 28 Jun 2007 01:20:30 +0000 (01:20 +0000)
committerGunter Knauf <gk@gknw.de>
Thu, 28 Jun 2007 01:20:30 +0000 (01:20 +0000)
tests/testcurl.pl

index 6948bfcccad683908dcb702a0ee498c0665a8aa2..8a3d7becbbeb84c314dba08b2561f48df0f1e8e2 100755 (executable)
@@ -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");
   }