[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: FOUND IT !!!!!!!
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2001-05-11 10:19:52
[Download RAW message or body]

> > #! /bin/sh
> > if [ -f /etc/profile ]; then
> >   . /etc/profile
> > fi
> 
> Not completely perfect either.
>
wasn't supposed to be. :)

> My system has both /etc/profile and /etc/csh.login so just checking
> whether that file exists won't help.
> 
no ... the intention of the script was to "source" the files of both
sh and csh. of course, the values from the later sourced script will
win in case of contradiction. that's why i basically don't like it.
another note ... the magic with the csh call would only work, if one
put '#! /bin/bash' a the top of .xsession (because of quotation issues).

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic