From 51b7e7399a663eb1f609ff4371d83db6a87bc3aa Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Wed, 23 Mar 2011 21:57:25 +0000 Subject: fix typo in variable name --- pkgconfigdeps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgconfigdeps.sh b/pkgconfigdeps.sh index 74fcdd9..962f47d 100755 --- a/pkgconfigdeps.sh +++ b/pkgconfigdeps.sh @@ -22,7 +22,7 @@ case $1 in ;; esac done - if [ -n "$pcfile" ] + if [ -n "$pcfiles" ] then # Query the dependencies of the package. PKG_CONFIG_PATH=$PKG_CONFIG_PATH $pkgconfig --print-errors --print-provides $pcfiles | while read n r v ; do @@ -43,7 +43,7 @@ case $1 in PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$(dirname ${filename}) esac done - if [ -n "$pcfile" ] + if [ -n "$pcfiles" ] then PKG_CONFIG_PATH=$PKG_CONFIG_PATH $pkgconfig --print-errors --print-requires ${pcfiles} | while read n r v ; do test -z "$v" && test -n "$r" && echo "Error with pkgconfig($n)" >&2 && exit 1 -- cgit v1.2.1