|
From: John I. <io...@gm...> - 2013-10-18 15:35:48
|
I checked in revision 12947 or gusEnv.bash to deal with this. It now sets
PERL5LIB, using a Perl one-liner to remove any existing gus_home/lib/perl
entries and adding the current one.
-- John
On Thu, Oct 17, 2013 at 2:59 PM, John Iodice <io...@gm...> wrote:
> gusEnv.bash sets some environment variables, including PATH, but it
> doesn't set PERL5LIB. Isn't that a bug?
>
> I call gusEnv.bash in my .bash_profile, then do this:
> PERL5LIB=${GUS_HOME}/lib/perl:${PERL5LIB}
>
> But if I use gusEnv.bash later in the session, to point at a different GUS
> install, PERL5LIB continues to point wherever it started.
>
> This is a bug, right? I'm running executables from the new gus_home, but
> they're finding their Perl modules in the old gus_home/lib/perl. I think
> that line above should be in gusEnv.bash, so it happens whenever we switch
> environments. What do you think?
>
> -- John
>
|