aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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