summaryrefslogtreecommitdiffstats
path: root/perl-install/live_install2
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-08-24 15:57:23 +0000
committerFrancois Pons <fpons@mandriva.com>2000-08-24 15:57:23 +0000
commit328ce33d9b48588abd507591d403ffcdf9612a93 (patch)
tree376572183d1ad3ac56718f5a21b08d721c7486f4 /perl-install/live_install2
parentae6724e80a75c2e253daa9ded045c756f399e860 (diff)
downloaddrakx-backup-do-not-use-328ce33d9b48588abd507591d403ffcdf9612a93.tar
drakx-backup-do-not-use-328ce33d9b48588abd507591d403ffcdf9612a93.tar.gz
drakx-backup-do-not-use-328ce33d9b48588abd507591d403ffcdf9612a93.tar.bz2
drakx-backup-do-not-use-328ce33d9b48588abd507591d403ffcdf9612a93.tar.xz
drakx-backup-do-not-use-328ce33d9b48588abd507591d403ffcdf9612a93.zip
*** empty log message ***
Diffstat (limited to 'perl-install/live_install2')
-rwxr-xr-xperl-install/live_install212
1 files changed, 12 insertions, 0 deletions
diff --git a/perl-install/live_install2 b/perl-install/live_install2
new file mode 100755
index 000000000..0773636ea
--- /dev/null
+++ b/perl-install/live_install2
@@ -0,0 +1,12 @@
+#!../perl
+
+my $dir = `pwd`;
+chomp $dir;
+$dir .= "/../../..";
+
+$ENV{PERL5LIB} = join ":", map { "$dir/$_" } @INC;
+$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 "../../../lib/ld-linux.so.2", "../perl", "./install2", "--live", @ARGV or die;