Added \ and newlines for readability

Fixed SC2068 and SC2086, both are quoting issues.

Signed-off-by: Rosen Penev <ros...@gmail.com>
---
 tools/pkg-config/files/pkg-config | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/pkg-config/files/pkg-config 
b/tools/pkg-config/files/pkg-config
index 82cc74ffcb..e90b301e7d 100755
--- a/tools/pkg-config/files/pkg-config
+++ b/tools/pkg-config/files/pkg-config
@@ -1,3 +1,7 @@
 #!/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.24.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to