summaryrefslogtreecommitdiffstats
path: root/mga-move-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'mga-move-pkg')
-rwxr-xr-xmga-move-pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/mga-move-pkg b/mga-move-pkg
index ddf9983..120bb81 100755
--- a/mga-move-pkg
+++ b/mga-move-pkg
@@ -120,7 +120,7 @@ function find_srpms()
if [ 'release' = "${_destsubsections[$i]}" ]; then
# In cauldron we also have to move the old version from release to ~schedbot/old/
# We know srcname is a %{name} now.
- for file in "$distribdir/${_releases[$i]}/SRPMS/${_sections[$i]}/release/"*.rpm; do
+ for file in "$distribdir/${_releases[$i]}/SRPMS/${_sections[$i]}/release/${_pkgs[$i]}-"*.rpm; do
pkg=$(rpm -qp --qf '%{NAME}' "$file")
if [ "$pkg" = "${_pkgs[$i]}" ]; then
bfile=$(basename "$file")