summaryrefslogtreecommitdiffstats
path: root/mga-move-pkg
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2015-03-21 23:30:15 +0000
committerPascal Terjan <pterjan@gmail.com>2015-03-21 23:30:15 +0000
commitc6fe62058408dacc8fb0961e92a0798c54376f15 (patch)
treeb107cbcf8d989c43007304fe6272f47fefcc2a79 /mga-move-pkg
parent19266763d4fd6e515466affe3072c87e3735860d (diff)
downloadmgatools-c6fe62058408dacc8fb0961e92a0798c54376f15.tar
mgatools-c6fe62058408dacc8fb0961e92a0798c54376f15.tar.gz
mgatools-c6fe62058408dacc8fb0961e92a0798c54376f15.tar.bz2
mgatools-c6fe62058408dacc8fb0961e92a0798c54376f15.tar.xz
mgatools-c6fe62058408dacc8fb0961e92a0798c54376f15.zip
Fix some code for running on cauldron
Diffstat (limited to 'mga-move-pkg')
-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