aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-28 15:10:48 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-28 15:10:48 +0000
commitadf52950d88570d8e4d50459a0282c987802d0a0 (patch)
tree2c62e074d9e4b071528139ad798a1a5de676f01d /functions
parent387a3e8f393902375e245f83fc79f6a654ea463f (diff)
downloadrepoctl-adf52950d88570d8e4d50459a0282c987802d0a0.tar
repoctl-adf52950d88570d8e4d50459a0282c987802d0a0.tar.gz
repoctl-adf52950d88570d8e4d50459a0282c987802d0a0.tar.bz2
repoctl-adf52950d88570d8e4d50459a0282c987802d0a0.tar.xz
repoctl-adf52950d88570d8e4d50459a0282c987802d0a0.zip
fix variable used
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index ac9794c..ccbc2e1 100644
--- a/functions
+++ b/functions
@@ -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