diff options
author | Pascal Terjan <pterjan@gmail.com> | 2015-03-21 23:30:15 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2015-03-21 23:30:15 +0000 |
commit | c6fe62058408dacc8fb0961e92a0798c54376f15 (patch) | |
tree | b107cbcf8d989c43007304fe6272f47fefcc2a79 | |
parent | 19266763d4fd6e515466affe3072c87e3735860d (diff) | |
download | mgatools-c6fe62058408dacc8fb0961e92a0798c54376f15.tar mgatools-c6fe62058408dacc8fb0961e92a0798c54376f15.tar.gz mgatools-c6fe62058408dacc8fb0961e92a0798c54376f15.tar.bz2 mgatools-c6fe62058408dacc8fb0961e92a0798c54376f15.tar.xz mgatools-c6fe62058408dacc8fb0961e92a0798c54376f15.zip |
Fix some code for running on cauldron
-rwxr-xr-x | mga-move-pkg | 1 |
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 |