[svn:parrot] r43726 - trunk/config/auto

mikehh at svn.parrot.org mikehh at svn.parrot.org
Fri Feb 5 14:44:09 UTC 2010


Author: mikehh
Date: Fri Feb  5 14:44:08 2010
New Revision: 43726
URL: https://trac.parrot.org/parrot/changeset/43726

Log:
move $icushared substitution into if to avoid warning message if not defined or empty

Modified:
   trunk/config/auto/icu.pm

Modified: trunk/config/auto/icu.pm
==============================================================================
--- trunk/config/auto/icu.pm	Fri Feb  5 05:54:36 2010	(r43725)
+++ trunk/config/auto/icu.pm	Fri Feb  5 14:44:08 2010	(r43726)
@@ -321,12 +321,13 @@
         if (length $icushared == 0) {
             $without = 1;
         }
+        else {
+            # on MacOS X there's sometimes an errornous \c at the end of the
+            # output line. Remove it.
+            $icushared =~ s/\s\\c$//;
+        }
     }
 
-    # on MacOS X there's sometimes an errornous \c at the end of the
-    # output line. Remove it.
-    $icushared =~ s/\s\\c$//;
-
     return ($icushared, $without);
 }
 


More information about the parrot-commits mailing list