From adf52950d88570d8e4d50459a0282c987802d0a0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 28 Oct 2011 15:10:48 +0000 Subject: fix variable used --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1