From c60be196933807cc0db90a36704e4505edd83eeb Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 28 Nov 2019 11:19:32 -0800 Subject: [PATCH] tools/pkgconf: Run pkg-config wrapper through shellcheck Mainly quoting fixes. Separated parameters by \ for easier readability. Signed-off-by: Rosen Penev --- tools/pkgconf/files/pkg-config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" "$@" -- 2.25.1