tools/pkgconf: Run pkg-config wrapper through shellcheck
authorRosen Penev <rosenp@gmail.com>
Thu, 28 Nov 2019 19:19:32 +0000 (11:19 -0800)
committerPetr Štetiar <ynezz@true.cz>
Sun, 1 Mar 2020 20:36:00 +0000 (21:36 +0100)
Mainly quoting fixes.

Separated parameters by \ for easier readability.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
tools/pkgconf/files/pkg-config

index 82cc74ffcba353c6af653b13f2a96678d7106dbc..fa1faccc6cf5166786b52f4bc03edd5cead6d88a 100755 (executable)
@@ -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" "$@"