From: cphillip Date: Fri, 23 Apr 2004 02:24:44 +0000 (+0000) Subject: o Remove unneeded LD_LIBRARY_PATH changes from setup script. X-Git-Tag: OPENSSH_GSI_GPT_3_2~2 X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/commitdiff_plain/e44d9e8e6508d41b782aa30c8f9816353353b632 o Remove unneeded LD_LIBRARY_PATH changes from setup script. --- diff --git a/setup/setup-openssh.pl b/setup/setup-openssh.pl index 94482b6..69a82b0 100644 --- a/setup/setup-openssh.pl +++ b/setup/setup-openssh.pl @@ -35,18 +35,6 @@ use Getopt::Long; use Cwd; use Cwd 'abs_path'; -# -# modify the ld library path for when we call ssh executables -# - -$oldldpath = $ENV{LD_LIBRARY_PATH}; -$newldpath = "$gpath/lib"; -if (length($oldldpath) > 0) -{ - $newldpath .= ":$oldldpath"; -} -$ENV{LD_LIBRARY_PATH} = "$newldpath"; - # # i'm including this because other perl scripts in the gpt setup directories # do so @@ -1083,7 +1071,7 @@ sub action debug1("$command\n"); - my $result = system("LD_LIBRARY_PATH=\"$gpath/lib:\$LD_LIBRARY_PATH\"; $command >/dev/null 2>&1"); + my $result = system("$command >/dev/null 2>&1"); if (($result or $?) and $command !~ m!patch!) {