diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-23 00:38:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-23 00:38:28 +0000 |
commit | 37860db32a298e81d107848c7021f39427ff2e29 (patch) | |
tree | aca56a7afe2ac47312f7d69037dd2be7fe5da32a /perl-install/g_auto_install | |
parent | a2d6666a3797ac9d980855cc8a28cf9a6466a78c (diff) | |
download | drakx-37860db32a298e81d107848c7021f39427ff2e29.tar drakx-37860db32a298e81d107848c7021f39427ff2e29.tar.gz drakx-37860db32a298e81d107848c7021f39427ff2e29.tar.bz2 drakx-37860db32a298e81d107848c7021f39427ff2e29.tar.xz drakx-37860db32a298e81d107848c7021f39427ff2e29.zip |
no_comment
Diffstat (limited to 'perl-install/g_auto_install')
-rwxr-xr-x | perl-install/g_auto_install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/perl-install/g_auto_install b/perl-install/g_auto_install new file mode 100755 index 000000000..41a5d3303 --- /dev/null +++ b/perl-install/g_auto_install @@ -0,0 +1,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; |