perl-modperl-cvs mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1759465&view=rev
Log:
Update Makefile.PL as per r1759432

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

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



Mime
View raw message