diff options
author | Olivier Blin <blino@mageia.org> | 2011-03-28 11:23:58 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2011-03-28 11:23:58 +0000 |
commit | 51d5d4e7a0d1d1cca9a5214782575b5f8aa7aa8b (patch) | |
tree | 0e1d060beb87008d7e266d6fbafb071c8bce10e9 | |
parent | 329303a9e34dcc3b9d44902b712821b738edc48d (diff) | |
download | mga-youri-submit-51d5d4e7a0d1d1cca9a5214782575b5f8aa7aa8b.tar mga-youri-submit-51d5d4e7a0d1d1cca9a5214782575b5f8aa7aa8b.tar.gz mga-youri-submit-51d5d4e7a0d1d1cca9a5214782575b5f8aa7aa8b.tar.bz2 mga-youri-submit-51d5d4e7a0d1d1cca9a5214782575b5f8aa7aa8b.tar.xz mga-youri-submit-51d5d4e7a0d1d1cca9a5214782575b5f8aa7aa8b.zip |
fix clean-rpmsrate to use core/release
-rw-r--r-- | lib/Youri/Submit/Post/CleanRpmsrate.pm | 3 |
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); |