diff options
| author | Nicolas Vigier <boklm@mageia.org> | 2011-10-28 15:10:48 +0000 |
|---|---|---|
| committer | Nicolas Vigier <boklm@mageia.org> | 2011-10-28 15:10:48 +0000 |
| commit | adf52950d88570d8e4d50459a0282c987802d0a0 (patch) | |
| tree | 2c62e074d9e4b071528139ad798a1a5de676f01d | |
| parent | 387a3e8f393902375e245f83fc79f6a654ea463f (diff) | |
| download | repoctl-adf52950d88570d8e4d50459a0282c987802d0a0.tar repoctl-adf52950d88570d8e4d50459a0282c987802d0a0.tar.gz repoctl-adf52950d88570d8e4d50459a0282c987802d0a0.tar.bz2 repoctl-adf52950d88570d8e4d50459a0282c987802d0a0.tar.xz repoctl-adf52950d88570d8e4d50459a0282c987802d0a0.zip | |
fix variable used
| -rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -246,7 +246,7 @@ function find_src_pkg() for file in "$distribdir/$distrorelease/SRPMS/$section/$sectionrepo/"*.rpm do local fname=$(rpm -qp --qf '%{NAME}' "$file") - if [ a"$fname" = a"$srcname" ] + if [ a"$fname" = a"$pkgname" ] then basename "$file" return 0 |
