Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/scripts


Modified Files:
        e_gen_menu 


Log Message:
Don't overwrite file.menu and user_apps.menu when regenerating menus.
Use eesh in EBIN.

===================================================================
RCS file: /cvsroot/enlightenment/e16/e/scripts/e_gen_menu,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- e_gen_menu  28 Sep 2003 19:23:42 -0000      1.28
+++ e_gen_menu  25 Oct 2003 13:11:46 -0000      1.29
@@ -49,6 +49,8 @@
 
 $dbg      = "$ENV{'E_MENUGEN_DBG'}";
 
+# Put EBIN first in path
+$ENV{'PATH'} = "$EdirBin:$ENV{'PATH'}";
 
 # Programs
 $DoConvert = `which convert`;
@@ -74,8 +76,8 @@
        "m:KDE:menus_KDE/index.menu",
        "m:Other:menus_Other/index.menu",
        "m:Enlightenment Epplets:epplets.menu",
-       "x:Restart Enlightenment:/usr/bin/eesh -e 'restart'",
-       "x:Log Out:/usr/bin/eesh -e 'exit'"
+       "x:Restart Enlightenment:eesh -e 'restart'",
+       "x:Log Out:eesh -e 'exit'"
 );
 
 @UserAppsMenu = (
@@ -117,7 +119,7 @@
        local $m = shift;
 
        $f = "$EdirUser/$f";
-#      return if (-f "$f");
+       return if (-f "$f");
        open(FD, ">$f");
        foreach $e (@$m) {
                ($t, $n, $p) = split(':', $e);




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to