aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pkgconf
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-11-28 11:19:32 -0800
committerPetr Štetiar <ynezz@true.cz>2020-03-01 21:36:00 +0100
commitc60be196933807cc0db90a36704e4505edd83eeb (patch)
treefe3f69c3028b2d5da22f099e0c262d83a4038ebd /tools/pkgconf
parent867298cf47ab505dee738fc653b90fa0bc2d0428 (diff)
downloadupstream-c60be196933807cc0db90a36704e4505edd83eeb.tar.gz
upstream-c60be196933807cc0db90a36704e4505edd83eeb.tar.bz2
upstream-c60be196933807cc0db90a36704e4505edd83eeb.zip
tools/pkgconf: Run pkg-config wrapper through shellcheck
Mainly quoting fixes. Separated parameters by \ for easier readability. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'tools/pkgconf')
-rwxr-xr-xtools/pkgconf/files/pkg-config5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/pkgconf/files/pkg-config b/tools/pkgconf/files/pkg-config
index 82cc74ffcb..fa1faccc6c 100755
--- a/tools/pkgconf/files/pkg-config
+++ b/tools/pkgconf/files/pkg-config
@@ -1,3 +1,6 @@
#!/bin/sh
-pkg-config.real --define-variable=prefix=${STAGING_PREFIX} --define-variable=exec_prefix=${STAGING_PREFIX} --define-variable=bindir=${STAGING_PREFIX}/bin $@
+pkg-config.real \
+--define-variable=prefix="${STAGING_PREFIX}" \
+--define-variable=exec_prefix="${STAGING_PREFIX}" \
+--define-variable=bindir="${STAGING_PREFIX}/bin" "$@"