summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-07 20:11:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-07 20:11:03 +0000
commite20472ada208c7cd6ca78af41f2bc5939350ef99 (patch)
treecf78620f606fb3b057499265f4441bcc8f9134dc /urpm.pm
parentcf11c48eb0c9a63525868deb5a3c79a514883340 (diff)
downloadurpmi-e20472ada208c7cd6ca78af41f2bc5939350ef99.tar
urpmi-e20472ada208c7cd6ca78af41f2bc5939350ef99.tar.gz
urpmi-e20472ada208c7cd6ca78af41f2bc5939350ef99.tar.bz2
urpmi-e20472ada208c7cd6ca78af41f2bc5939350ef99.tar.xz
urpmi-e20472ada208c7cd6ca78af41f2bc5939350ef99.zip
fix bug in previous commit
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 9ac77f95..151300cd 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -124,7 +124,7 @@ sub is_temporary_file {
sub set_files {
my ($urpm, $urpmi_root) = @_;
- $urpmi_root = file2absolute_file($urpmi_root);
+ $urpmi_root and $urpmi_root = file2absolute_file($urpmi_root);
my %h = (
config => "$urpmi_root/etc/urpmi/urpmi.cfg",