[2187] in Release_7.7_team

home help back first fref pref prev next nref lref last post

Re: Need a ruling on silly Andrew config.

daemon@ATHENA.MIT.EDU (Aaron M. Ucko)
Fri Mar 31 14:26:08 2000

To: Bill Cattey <wdc@mit.edu>
Cc: Greg Hudson <ghudson@mit.edu>, release-team@mit.edu
From: amu@MIT.EDU (Aaron M. Ucko)
Date: 31 Mar 2000 14:25:55 -0500
In-Reply-To: Bill Cattey's message of "Fri, 31 Mar 2000 12:15:51 -0500 (EST)"
Message-ID: <udlya6zeybg.fsf@quiche-lorraine.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

In that case, this (completely untested) script should work:

#!/usr/athena/bin/perl
$runapp = '/usr/andrew/bin/runapp';
$alib = '/usr/andrew/lib';

if (defined $ENV{LD_LIBRARY_PATH}) {
        $ENV{LD_LIBRARY_PATH} .= ":$alib";
} else {
        $ENV{LD_LIBRARY_PATH} = $alib;
}
exec $runapp $0, @ARGV;
# Note that there should NOT be a comma between $runapp and $0.

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)

home help back first fref pref prev next nref lref last post