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

@ARGV == 0 or die "usage: $0\n";

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" or die;