summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmga-move-pkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/mga-move-pkg b/mga-move-pkg
index 705e5e9..ddf9983 100755
--- a/mga-move-pkg
+++ b/mga-move-pkg
@@ -123,6 +123,7 @@ function find_srpms()
for file in "$distribdir/${_releases[$i]}/SRPMS/${_sections[$i]}/release/"*.rpm; do
pkg=$(rpm -qp --qf '%{NAME}' "$file")
if [ "$pkg" = "${_pkgs[$i]}" ]; then
+ bfile=$(basename "$file")
_oldpkgfiles[$i]=$bfile
break
fi