[Rt-commit] rt branch, 3.8/perlcritic, updated. rt-3.8.10-57-g18a3d63

Alex Vandiver alexmv at bestpractical.com
Thu Jul 7 15:37:12 EDT 2011


The branch, 3.8/perlcritic has been updated
       via  18a3d63a3c81ddd79f76aa19a5ddc5cebe92bff6 (commit)
      from  f69e917e54e0511e122718f150dab8d9cea22c45 (commit)

Summary of changes:
 sbin/extract-message-catalog |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 18a3d63a3c81ddd79f76aa19a5ddc5cebe92bff6
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Jul 7 15:08:20 2011 -0400

    Add parens to dismbiguate calls to glob(), added in 2e566377

diff --git a/sbin/extract-message-catalog b/sbin/extract-message-catalog
index ea75045..dafb6d1 100755
--- a/sbin/extract-message-catalog
+++ b/sbin/extract-message-catalog
@@ -60,10 +60,10 @@ use vars qw($DEBUG $FILECAT);
 $DEBUG = 1;
 
 # po dir is for extensions
- at ARGV = (glob "lib/RT/I18N/*.po",
-         glob "lib/RT/I18N/*.pot",
-         glob "po/*.po",
-         glob "po/*.pot"
+ at ARGV = (glob("lib/RT/I18N/*.po"),
+         glob("lib/RT/I18N/*.pot"),
+         glob("po/*.po"),
+         glob("po/*.pot"),
      ) unless @ARGV;
 
 $FILECAT = {};

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


More information about the Rt-commit mailing list