summaryrefslogtreecommitdiffstats
path: root/perl-install/g_auto_install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-23 00:38:28 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-23 00:38:28 +0000
commit37860db32a298e81d107848c7021f39427ff2e29 (patch)
treeaca56a7afe2ac47312f7d69037dd2be7fe5da32a /perl-install/g_auto_install
parenta2d6666a3797ac9d980855cc8a28cf9a6466a78c (diff)
downloaddrakx-backup-do-not-use-37860db32a298e81d107848c7021f39427ff2e29.tar
drakx-backup-do-not-use-37860db32a298e81d107848c7021f39427ff2e29.tar.gz
drakx-backup-do-not-use-37860db32a298e81d107848c7021f39427ff2e29.tar.bz2
drakx-backup-do-not-use-37860db32a298e81d107848c7021f39427ff2e29.tar.xz
drakx-backup-do-not-use-37860db32a298e81d107848c7021f39427ff2e29.zip
no_comment
Diffstat (limited to 'perl-install/g_auto_install')
-rwxr-xr-xperl-install/g_auto_install13
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;