summaryrefslogtreecommitdiffstats
path: root/scripts/pkg-config-wrapper
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-06-21 11:18:10 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-06-21 11:18:14 +0200
commit66eafb70e4604561142d84b5dcc56a27b2056be9 (patch)
tree4c33e19338f8df2d54086bf5d3fb7e0b290b0a8d /scripts/pkg-config-wrapper
parentb2506e3922eae21a9d4b0fc7ebed62e1524cbaac (diff)
downloadptxdist-66eafb70e4604561142d84b5dcc56a27b2056be9.tar.gz
ptxdist-66eafb70e4604561142d84b5dcc56a27b2056be9.tar.xz
pkg-config-wrapper: write error message to stdout
In quiet mode PTXDIST_FD_LOGERR is stdout and the error message may be interpreted as valid output. configure scripts will capture stdout of pkg-config anyways and dump it with the rest of the output, so ordering is preserved. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/pkg-config-wrapper')
-rwxr-xr-xscripts/pkg-config-wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pkg-config-wrapper b/scripts/pkg-config-wrapper
index e3f1638cc..544d05724 100755
--- a/scripts/pkg-config-wrapper
+++ b/scripts/pkg-config-wrapper
@@ -57,7 +57,7 @@ fi
if [ -n "${PKGCONFIG_WHITELIST_SRC}" ]; then
for pkg in $("${PKG_CONFIG}" --print-provides "${@}" 2>/dev/null | awk '{print $1}'); do
if [[ ! " ${PKGCONFIG_WHITELIST} " =~ " ${pkg} " && ! "${pkg}" =~ '-uninstalled' ]]; then
- echo "$(basename ${0}): warning: blocking '${pkg}': not selected by '${PKGCONFIG_WHITELIST_SRC}'" >&${PTXDIST_FD_LOGERR}
+ echo "$(basename ${0}): warning: blocking '${pkg}': not selected by '${PKGCONFIG_WHITELIST_SRC}'" >&2
exit 1
fi
done