Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/scripts


Modified Files:
        e_gen_menu 


Log Message:
Fix menu generation when iconv is not available.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/scripts/e_gen_menu,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- e_gen_menu  28 Dec 2004 23:46:42 -0000      1.36
+++ e_gen_menu  2 Jan 2005 16:04:24 -0000       1.37
@@ -66,6 +66,7 @@
 
 # Programs
 $DoConvert = `which convert`;
+$DoIconv = `which iconv`;
 
 @CatsRemove = (
        "Qt",
@@ -235,7 +236,7 @@
                        if    ($Nam1) { $Name = $Nam1; }
                        elsif ($Nam2) { $Name = $Nam2; }
                        else          { $Name = $Nam3; }
-                       $Name = `echo "$Name" | iconv -f UTF-8`;
+                       $Name = `echo "$Name" | iconv -f UTF-8` if $DoIconv;
                        chomp($Name);
                }
        }




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to