aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-03-23 21:57:25 +0000
committerNicolas Vigier <boklm@mageia.org>2011-03-23 21:57:25 +0000
commit51b7e7399a663eb1f609ff4371d83db6a87bc3aa (patch)
tree59408e6964b0e8d52fbb82978296f03b3f711980
parent1e16f0d96ea9a6a7f40b5d69961b805cffb28d1d (diff)
downloadrpm-setup-51b7e7399a663eb1f609ff4371d83db6a87bc3aa.tar
rpm-setup-51b7e7399a663eb1f609ff4371d83db6a87bc3aa.tar.gz
rpm-setup-51b7e7399a663eb1f609ff4371d83db6a87bc3aa.tar.bz2
rpm-setup-51b7e7399a663eb1f609ff4371d83db6a87bc3aa.tar.xz
rpm-setup-51b7e7399a663eb1f609ff4371d83db6a87bc3aa.zip
fix typo in variable name
-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