aboutsummaryrefslogtreecommitdiffstats
path: root/pkgconfigdeps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgconfigdeps.sh')
-rwxr-xr-xpkgconfigdeps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgconfigdeps.sh b/pkgconfigdeps.sh
index 4d9429d..08713be 100755
--- a/pkgconfigdeps.sh
+++ b/pkgconfigdeps.sh
@@ -21,9 +21,9 @@ case $1 in
while read filename ; do
case "${filename}" in
*.pc)
+ # Query the dependencies of the package.
DIR="`dirname ${filename}`"
export PKG_CONFIG_PATH="$DIR:$DIR/../../share/pkgconfig"
- # Query the dependencies of the package.
$pkgconfig --print-errors --print-provides $filename | while read n r v ; do
# We have a dependency. Make a note that we need the pkgconfig
# tool for this package.