You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by st...@apache.org on 2016/09/06 17:22:41 UTC

svn commit: r1759464 - /perl/Apache-Reload/trunk/Makefile.PL

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;