r77714 - /scripts/forward-patch

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri Jul 22 11:19:31 UTC 2011


Author: gregoa
Date: Fri Jul 22 11:19:30 2011
New Revision: 77714

URL: http://svn.debian.org/wsvn/?sc=1&rev=77714
Log:
open RT URL with sensible-browser

Modified:
    scripts/forward-patch

Modified: scripts/forward-patch
URL: http://svn.debian.org/wsvn/scripts/forward-patch?rev=77714&op=diff
==============================================================================
--- scripts/forward-patch (original)
+++ scripts/forward-patch Fri Jul 22 11:19:30 2011
@@ -134,9 +134,12 @@
 # find bug on https://rt.cpan.org/Public/Dist/Display.html?Name=$dist
 # or via RT::Client::REST and add the URL to the Forwarded header in the patch
 
+my $rturl = "https://rt.cpan.org/Public/Dist/Display.html?Name=$dist";
 print "Find your ticket on\n" .
-      "https://rt.cpan.org/Public/Dist/Display.html?Name=$dist\n" .
-      "and add the ticket URL to $patch\n";
+      "$rturl\n" .
+      "and add the ticket URL to $patch\n\n" .
+      "Trying to open the URL with sensible-browser now.\n";
+system('sensible-browser', "$rturl");
 
 =head1 AUTHOR
 




More information about the Pkg-perl-cvs-commits mailing list