aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
Diffstat (limited to 'emi')
-rwxr-xr-xemi4
1 files changed, 2 insertions, 2 deletions
diff --git a/emi b/emi
index c9efa9e..750df44 100755
--- a/emi
+++ b/emi
@@ -175,7 +175,7 @@ sub todo_func {
if ($r =~ /(\d{14}\.\w+\.\w+\.\d+)_(.*\.([^.]+)\.rpm)$/) {
my ($prefix, $rpm) = ($1, $2);
plog('DEBUG', "found todo rpm $rpm ($prefix)");
- push @{$pkg_tree{$prefix}{todo}}, $rpm;
+ push @{$pkg_tree{$prefix}{srpms}}, $rpm;
}
}
@@ -332,7 +332,7 @@ sub upload_prefix_in_media {
}
}
if ($all_done) {
- foreach (@{$pkg_tree{$prefix}{todo}}) {
+ foreach (@{$pkg_tree{$prefix}{srpms}}) {
plog('DEBUG', "unlink $todo/$path/${prefix}_$_");
unlink("$todo/$path/${prefix}_$_");
}