diff options
Diffstat (limited to 'mga-move-pkg')
-rwxr-xr-x | mga-move-pkg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mga-move-pkg b/mga-move-pkg index a3016ba..2187d30 100755 --- a/mga-move-pkg +++ b/mga-move-pkg @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e @@ -121,6 +121,7 @@ function find_srpms() # 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/${_pkgs[$i]}-"*.rpm; do + echo $pkg pkg=$(rpm -qp --qf '%{NAME}' "$file") if [ "$pkg" = "${_pkgs[$i]}" ]; then bfile=$(basename "$file") |