[Rt-commit] rt branch, 3.8.9-releng, created. rt-3.8.8-234-g9c0e75c

Kevin Falcone falcone at bestpractical.com
Mon Dec 27 15:16:33 EST 2010


The branch, 3.8.9-releng has been created
        at  9c0e75c6ef281098c1708222796ba0e46d31b977 (commit)

- Log -----------------------------------------------------------------
commit b09d48a1d32f69f1fe57c70fc961ec6e4917d863
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Dec 27 15:15:19 2010 -0500

    regex fix to actually match

diff --git a/sbin/rt-message-catalog b/sbin/rt-message-catalog
index 9b853ff..0232a8a 100755
--- a/sbin/rt-message-catalog
+++ b/sbin/rt-message-catalog
@@ -186,7 +186,7 @@ sub rosetta {
     my $url = shift or die 'must provide rosseta download url or directory with new po files';
 
     my $dir;
-    if ( $url =~ m/^[a-z+]:\/\// ) {
+    if ( $url =~ m/^[a-z]+:\/\// ) {
         $dir = File::Temp::tempdir();
         my ($fname) = $url =~ m{([^/]+)$};
 

commit 9c0e75c6ef281098c1708222796ba0e46d31b977
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Dec 27 15:16:08 2010 -0500

    Load the module before we use it

diff --git a/sbin/rt-message-catalog b/sbin/rt-message-catalog
index 0232a8a..92228df 100755
--- a/sbin/rt-message-catalog
+++ b/sbin/rt-message-catalog
@@ -187,6 +187,7 @@ sub rosetta {
 
     my $dir;
     if ( $url =~ m/^[a-z]+:\/\// ) {
+        require File::Temp;
         $dir = File::Temp::tempdir();
         my ($fname) = $url =~ m{([^/]+)$};
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list