aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-01-23 17:39:21 +0000
committerPascal Terjan <pterjan@gmail.com>2016-01-23 17:39:21 +0000
commit863e628c20f4fd89d5d2a7ea28a4c24f74008c8f (patch)
tree8a8b590be4a8db829b082301059c48434dce9bc7
parent99c2e1fca6d96d969486cbe202517a783948fedf (diff)
downloadiurt-863e628c20f4fd89d5d2a7ea28a4c24f74008c8f.tar
iurt-863e628c20f4fd89d5d2a7ea28a4c24f74008c8f.tar.gz
iurt-863e628c20f4fd89d5d2a7ea28a4c24f74008c8f.tar.bz2
iurt-863e628c20f4fd89d5d2a7ea28a4c24f74008c8f.tar.xz
iurt-863e628c20f4fd89d5d2a7ea28a4c24f74008c8f.zip
Use same structure in pkg_tree than ulri
-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}_$_");
}