summaryrefslogtreecommitdiffstats
path: root/t/helper.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-21 14:19:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-21 14:19:21 +0000
commit94812055eb7353778b330e3ac057cb322cdc54b3 (patch)
tree984f0f4426e7dbd40df4ba89e16568c275bd27cd /t/helper.pm
parent929fa7966aa8b0a619fd50858d51966be2acf2d9 (diff)
downloadurpmi-94812055eb7353778b330e3ac057cb322cdc54b3.tar
urpmi-94812055eb7353778b330e3ac057cb322cdc54b3.tar.gz
urpmi-94812055eb7353778b330e3ac057cb322cdc54b3.tar.bz2
urpmi-94812055eb7353778b330e3ac057cb322cdc54b3.tar.xz
urpmi-94812055eb7353778b330e3ac057cb322cdc54b3.zip
rename conf_file__rel_media into with-dir
(since it will be used in urpmi.cfg too, it needs a less verbose name)
Diffstat (limited to 't/helper.pm')
-rw-r--r--t/helper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper.pm b/t/helper.pm
index edf787d3..a9d6728c 100644
--- a/t/helper.pm
+++ b/t/helper.pm
@@ -120,7 +120,7 @@ sub create_media_d_cfg {
my $cnt = 1;
foreach my $h (@l) {
my %h = %$h;
- my $section = delete $h{conf_file__rel_media} || $cnt++;
+ my $section = delete $h{'with-dir'} || $cnt++;
print $F "[$section]\n";
print $F "$_ = $h->{$_}\n" foreach keys %$h;
}