diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2024-01-14 14:42:13 -0800 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2024-02-03 17:55:16 -0800 |
commit | 9222da3a76d5e6e3df0c15bf7614e0ff50b0680d (patch) | |
tree | 552303c56ffaf5027104dd8a5ce6e09d58d4ee85 /mga-move-pkg | |
parent | f2ed9ea61489c2fdb8abfbc9ade2ab2fcbd989d3 (diff) | |
download | mgatools-9222da3a76d5e6e3df0c15bf7614e0ff50b0680d.tar mgatools-9222da3a76d5e6e3df0c15bf7614e0ff50b0680d.tar.gz mgatools-9222da3a76d5e6e3df0c15bf7614e0ff50b0680d.tar.bz2 mgatools-9222da3a76d5e6e3df0c15bf7614e0ff50b0680d.tar.xz mgatools-9222da3a76d5e6e3df0c15bf7614e0ff50b0680d.zip |
Add an extra echo in mga-move-pkg
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") |