[dpdk-dev] [PATCH] buildtools: output build failure reason to stderr

Thomas Monjalon thomas at monjalon.net
Tue Feb 6 01:19:35 CET 2018


01/02/2018 14:49, Andrew Rybchenko:
> -		echo "$SYM is not flagged as experimental"
> -		echo "but is listed in version map"
> -		echo "Please add __rte_experimental to the definition of $SYM"
> +		cat >&2 <<EOM
> +$SYM is not flagged as experimental
> +but is listed in version map
> +Please add __rte_experimental to the definition of $SYM
> +EOM

You could use <<- EOM and keep indentation of the message.
You can check how it's done in devtools scripts.


More information about the dev mailing list