source: trunk/debathena/config/nmh-config/debian/80-csh-add-mh-path @ 24697

Revision 24697, 323 bytes checked in by geofft, 14 years ago (diff)
In nmh-config: * csh programming considered harmful.
Line 
1if ("$PATH" !~ "*:/usr/bin/mh") then
2  if (-e ~/Mail/context) then
3      setenv PATH "${PATH}:/usr/bin/mh"
4  else if (-r ~/.config/debathena/nmh-in-path) then
5    # csh is dumb about short-circuiting
6    if (yes == `cat ~/.config/debathena/nmh-in-path`) then
7      setenv PATH "${PATH}:/usr/bin/mh"
8    endif
9  endif
10endif
Note: See TracBrowser for help on using the repository browser.