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

List:       koffice-devel
Subject:    Re: newbie question about shell scripts
From:       Bernd Pol <bernd.pol () online ! de>
Date:       2004-03-19 20:08:46
Message-ID: 200403192008.47404.bernd.pol () online ! de
[Download RAW message or body]

Hi Marc,

that one sounds familiar to me. ;-)

Your shell file does export the environment to its descendands only. 
Once it returns the old settings come into effect again.
If you want lasting effects you need to include these settings into 
the .bashrc and/or .profile shell files of the user in question.

Have a good day,
Bernd

On Fri March 19 2004 19:37, Marc Heyvaert wrote:
> Hello,
>
> And now for something different.
>
> I have installed KOffice in a special directory with
> its own copy of Qt, arts and kdelibs to run for
> development purposes.
>
> In order to avoid typing in all the export commands I
> thought that making a script was going to be a
> solution (valid in the open console only). So I made
> one starting with
>
> #!/bin/sh
>
> export QTDIR=...
> etc
>
> I saved and set the file to executable (via
> Konqueror). When I type the shell name into a konsole
> the prompt returns without error message, but nothing
> seems to have been done, no variables are set.
>
> I don't have any experience with shells
>
> What am I doing wrong?
>
> Marc
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.yahoo.com
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@mail.kde.org
> https://mail.kde.org/mailman/listinfo/koffice-devel
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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