diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-06-21 11:18:10 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-06-21 11:18:14 +0200 |
commit | 66eafb70e4604561142d84b5dcc56a27b2056be9 (patch) | |
tree | 4c33e19338f8df2d54086bf5d3fb7e0b290b0a8d /scripts | |
parent | b2506e3922eae21a9d4b0fc7ebed62e1524cbaac (diff) | |
download | ptxdist-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')
-rwxr-xr-x | scripts/pkg-config-wrapper | 2 |
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 |