summaryrefslogtreecommitdiffstats
path: root/perl-install/g_auto_install
blob: cb5ed3cc707a69aab2c2bd5d73da2550340f790f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!../perl

my $dir = `pwd`;
chomp $dir;
$dir .= "/../../..";

$ENV{PERL5LIB} = join ":", map { "$dir/$_" } @INC;
$ENV{LD_LIBRARY_PATH} = "$dir/usr/lib";
$ENV{PATH} = join ":", map { "$dir/$_" } split ":", "/usr/bin:/bin:/sbin:/usr/sbin:/usr/X11R6/bin";

exec "../perl", "./install2", "--g_auto_install", @ARGV or die;