summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-11 17:01:57 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-11 17:01:57 +0000
commit319656522cd73cf7e5d63993fcbab93aac017960 (patch)
tree966cad2bc017f3000d69c8409a28b42fb4b846f8 /perl-install
parent47ec2240618eb00c4b0a06a7d74626e3db0de8fe (diff)
downloaddrakx-backup-do-not-use-319656522cd73cf7e5d63993fcbab93aac017960.tar
drakx-backup-do-not-use-319656522cd73cf7e5d63993fcbab93aac017960.tar.gz
drakx-backup-do-not-use-319656522cd73cf7e5d63993fcbab93aac017960.tar.bz2
drakx-backup-do-not-use-319656522cd73cf7e5d63993fcbab93aac017960.tar.xz
drakx-backup-do-not-use-319656522cd73cf7e5d63993fcbab93aac017960.zip
added missing LD_LOADER for calling rpm.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 03d288363..be69cad13 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -842,7 +842,7 @@ sub log_sizes {
my @df = common::df($o->{prefix});
log::l(sprintf "Installed: %s(df), %s(rpm)",
formatXiB($df[0] - $df[1], 1024),
- formatXiB(sum(`rpm --root $o->{prefix}/ -qa --queryformat "%{size}\n"`))) if -x "$o->{prefix}/bin/rpm";
+ formatXiB(sum(`$ENV{LD_LOADER} rpm --root $o->{prefix}/ -qa --queryformat "%{size}\n"`))) if -x "$o->{prefix}/bin/rpm";
}
sub copy_advertising {