aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpkgconfigdeps.sh4
1 files 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