summaryrefslogtreecommitdiffstats
path: root/perl-install/g_auto_install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2000-11-28 16:56:52 +0000
committerdamien <damien@mandriva.com>2000-11-28 16:56:52 +0000
commit0880c7ba8ce88e87fa600aeb367a8f88a3ae71e7 (patch)
tree33f7ac905998f9ad6d85090f777ee4c0d0c67032 /perl-install/g_auto_install
parentd5c526273db473a7d87a26000585900fc10dda7d (diff)
downloaddrakx-0880c7ba8ce88e87fa600aeb367a8f88a3ae71e7.tar
drakx-0880c7ba8ce88e87fa600aeb367a8f88a3ae71e7.tar.gz
drakx-0880c7ba8ce88e87fa600aeb367a8f88a3ae71e7.tar.bz2
drakx-0880c7ba8ce88e87fa600aeb367a8f88a3ae71e7.tar.xz
drakx-0880c7ba8ce88e87fa600aeb367a8f88a3ae71e7.zip
branch to build the firewall install.topic/unlabeled-1.1.1
Diffstat (limited to 'perl-install/g_auto_install')
-rwxr-xr-xperl-install/g_auto_install9
1 files changed, 4 insertions, 5 deletions
diff --git a/perl-install/g_auto_install b/perl-install/g_auto_install
index 41a5d3303..871a15945 100755
--- a/perl-install/g_auto_install
+++ b/perl-install/g_auto_install
@@ -1,13 +1,12 @@
#!../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";
+$ENV{LD_LIBRARY_PATH} = "$dir/lib:$dir/usr/lib";
+$ENV{PATH} = join(":", map { "$dir/$_" } split ":", "/usr/bin:/bin:/sbin:/usr/sbin:/usr/X11R6/bin") . ":$ENV{PATH}";
+$ENV{SHARE_PATH} = "$dir/usr/share";
-exec "../perl", "./install2", "--g_auto_install" or die;
+exec "../../../lib/ld-linux.so.2", "../perl", "./install2", "--g_auto_install", @ARGV or die;