perl-modperl-cvs mailing list archives

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

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

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

Modified: perl/Apache-Reload/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Makefile.PL?rev=1759464&r1=1759463&r2=1759464&view=diff
==============================================================================
--- perl/Apache-Reload/trunk/Makefile.PL (original)
+++ perl/Apache-Reload/trunk/Makefile.PL Tue Sep  6 17:22:41 2016
@@ -228,12 +228,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-Reload/trunk https://svn.apache.org/repos/asf/perl/Apache-Reload/tags/$(VERSION_SYM)
-	@echo update lib/Apache/Reload.pm VERSION now
+	svn copy -m $q\$(VERSION_SYM) tag$q https://svn.apache.org/repos/asf/perl/Apache-Reload/trunk
https://svn.apache.org/repos/asf/perl/Apache-Reload/tags/\$(VERSION_SYM)
 EOF
 
     return $string;



Mime
View raw message