[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-1031-g4cbd8b7

Shawn Moore sartak at bestpractical.com
Thu Dec 23 17:27:54 EST 2010


The branch, 3.9-trunk has been updated
       via  4cbd8b7262c4ea2ec170313a784b5004c1a80066 (commit)
      from  83d646c7cce2ebbe82508f7f8b1356ddd6a6af6f (commit)

Summary of changes:
 devel/extract-message-catalog |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 4cbd8b7262c4ea2ec170313a784b5004c1a80066
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Dec 23 17:26:57 2010 -0500

    Better fix - just skip nonexistent files
    
        which will really only happen when we specify nonexistent
        directories to the top-level find call

diff --git a/devel/extract-message-catalog b/devel/extract-message-catalog
index d705884..389cad2 100755
--- a/devel/extract-message-catalog
+++ b/devel/extract-message-catalog
@@ -122,7 +122,7 @@ sub extract_strings_from_code {
     my $file = $_;
 
     local $/;
-    return if ( -d $_ );
+    return if ( -d $_ || !-e _ );
     return
       if ( $File::Find::dir =~
         qr!lib/blib|lib/t/autogen|var|m4|local|share/fonts! );

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


More information about the Rt-commit mailing list