aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri/Submit/Post/CleanRpmsrate.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Youri/Submit/Post/CleanRpmsrate.pm')
-rw-r--r--lib/Youri/Submit/Post/CleanRpmsrate.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Post/CleanRpmsrate.pm b/lib/Youri/Submit/Post/CleanRpmsrate.pm
index 977e2a0..899c80f 100644
--- a/lib/Youri/Submit/Post/CleanRpmsrate.pm
+++ b/lib/Youri/Submit/Post/CleanRpmsrate.pm
@@ -33,7 +33,8 @@ sub run {
}
foreach my $arch (@changed) {
my $rpmsrate = "$root/$target/$arch/media/media_info/rpmsrate";
- my @media = "$root/$target/$arch/media/main/release";
+ # FIXME: have a method to get core/release instead of hardcoding it
+ my @media = "$root/$target/$arch/media/core/release";
system("cp", "$rpmsrate-raw", "$rpmsrate-new");
system("clean-rpmsrate", "$rpmsrate-new", @media);
system("mv", "-f", "$rpmsrate-new", $rpmsrate);