Title: [224647] trunk/Tools
- Revision
- 224647
- Author
- commit-qu...@webkit.org
- Date
- 2017-11-09 14:13:16 -0800 (Thu, 09 Nov 2017)
Log Message
[WinCairo EWS] svn-apply: 'cp' is not recognized as an internal or external command
https://bugs.webkit.org/show_bug.cgi?id=179469
Patch by Fujii Hironori <hironori.fu...@sony.com> on 2017-11-09
Reviewed by Per Arne Vollan.
WinCairo EWS bots haven't installed Cygwin.
* Scripts/svn-apply:
(scmCopy): Use 'copy' function instead of 'cp' command.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (224646 => 224647)
--- trunk/Tools/ChangeLog 2017-11-09 22:03:19 UTC (rev 224646)
+++ trunk/Tools/ChangeLog 2017-11-09 22:13:16 UTC (rev 224647)
@@ -1,3 +1,15 @@
+2017-11-09 Fujii Hironori <hironori.fu...@sony.com>
+
+ [WinCairo EWS] svn-apply: 'cp' is not recognized as an internal or external command
+ https://bugs.webkit.org/show_bug.cgi?id=179469
+
+ Reviewed by Per Arne Vollan.
+
+ WinCairo EWS bots haven't installed Cygwin.
+
+ * Scripts/svn-apply:
+ (scmCopy): Use 'copy' function instead of 'cp' command.
+
2017-11-09 Carlos Alberto Lopez Perez <clo...@igalia.com>
[WPE] Update dyz (WPE MiniBrowser)
Modified: trunk/Tools/Scripts/svn-apply (224646 => 224647)
--- trunk/Tools/Scripts/svn-apply 2017-11-09 22:03:19 UTC (rev 224646)
+++ trunk/Tools/Scripts/svn-apply 2017-11-09 22:13:16 UTC (rev 224647)
@@ -62,6 +62,7 @@
use Digest::MD5;
use File::Basename;
+use File::Copy qw(copy);
use File::Spec;
use Getopt::Long;
use MIME::Base64;
@@ -444,7 +445,7 @@
my $escapedDestination = escapeSubversionPath($destination);
system("svn", "copy", $escapedSource, $escapedDestination) == 0 or die "Failed to svn copy $escapedSource $escapedDestination.";
} elsif (isGit()) {
- system("cp", $source, $destination) == 0 or die "Failed to copy $source $destination.";
+ copy($source, $destination) or die "Failed to copy $source $destination.";
system("git", "add", $destination) == 0 or die "Failed to git add $destination.";
}
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes