summaryrefslogtreecommitdiffstats
path: root/perl-install/g_auto_install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-28 12:56:26 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-28 12:56:26 +0000
commit5fd046ac65b74d9b9b5c18bbb9579329f4036c49 (patch)
tree7787538c42e634c8e9935866048bfcfb282a7ef8 /perl-install/g_auto_install
parentf902492a01c974283c9c800ddbd5de651c474c25 (diff)
downloaddrakx-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar
drakx-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar.gz
drakx-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar.bz2
drakx-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar.xz
drakx-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.zip
no_comment
Diffstat (limited to 'perl-install/g_auto_install')
-rwxr-xr-xperl-install/g_auto_install4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/g_auto_install b/perl-install/g_auto_install
index 41a5d3303..cb5ed3cc7 100755
--- a/perl-install/g_auto_install
+++ b/perl-install/g_auto_install
@@ -1,7 +1,5 @@
#!../perl
-@ARGV == 0 or die "usage: $0\n";
-
my $dir = `pwd`;
chomp $dir;
$dir .= "/../../..";
@@ -10,4 +8,4 @@ $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;
+exec "../perl", "./install2", "--g_auto_install", @ARGV or die;