Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/scripts Modified Files: e_gen_menu Log Message: Skip non-existing dirs in PATH. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/scripts/e_gen_menu,v retrieving revision 1.41 retrieving revision 1.42 diff -u -3 -r1.41 -r1.42 --- e_gen_menu 5 Jun 2005 22:03:58 -0000 1.41 +++ e_gen_menu 10 Jun 2005 21:55:22 -0000 1.42 @@ -369,6 +369,7 @@ open(FD, ">$EdirMenus/$f"); print FD "\"Enlightenment Epplets\"\n"; foreach $d (split(':', $ENV{'PATH'})) { + next unless -d $d; next if ($done{$d}); $done{$d} = 1; print "Looking for epplets in $d\n" if $dbg ge 1; ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs