perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steve...@apache.org
Subject svn commit: r1759432 - /perl/Apache-Test/trunk/Makefile.PL
Date Tue, 06 Sep 2016 13:17:23 GMT
Author: stevehay
Date: Tue Sep  6 13:17:23 2016
New Revision: 1759432

URL: http://svn.apache.org/viewvc?rev=1759432&view=rev
Log:
Use -m "..." (or -m '...'!) in the svn copy command

Hopefully this will stop my log messages for the tags going AWOL in the future.

Modified:
    perl/Apache-Test/trunk/Makefile.PL

Modified: perl/Apache-Test/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/Makefile.PL?rev=1759432&r1=1759431&r2=1759432&view=diff
==============================================================================
--- perl/Apache-Test/trunk/Makefile.PL (original)
+++ perl/Apache-Test/trunk/Makefile.PL Tue Sep  6 13:17:23 2016
@@ -158,12 +158,13 @@ no warnings 'redefine';
 sub MY::postamble {
     my $self = shift;
 
+    my $q = ($^O =~ /MSWin32/i ? '"' : "'");
+
     my $string = $self->MM::postamble;
 
-    $string .= <<'EOF';
+    $string .= <<"EOF";
 tag :
-	svn copy https://svn.apache.org/repos/asf/perl/Apache-Test/trunk https://svn.apache.org/repos/asf/perl/Apache-Test/tags/$(VERSION_SYM)
-	@echo update lib/Apache/Test.pm VERSION now
+	svn copy -m $q\$(VERSION_SYM) tag$q https://svn.apache.org/repos/asf/perl/Apache-Test/trunk
https://svn.apache.org/repos/asf/perl/Apache-Test/tags/\$(VERSION_SYM)
 EOF
 
     return $string;



Mime
View raw message