08/06/2022 19:13, jer...@marvell.com:
> --- a/devtools/test-meson-builds.sh
> +++ b/devtools/test-meson-builds.sh
> @@ -160,7 +160,8 @@ build () # <directory> <target cc | cross file> <ABI 
> check> [meson options]
>       if [ -n "$crossfile" ] ; then
>               cross="--cross-file $crossfile"
>               targetcc=$(sed -n 's,^c[[:space:]]*=[[:space:]]*,,p' \
> -                     $crossfile | tr -d "'" | tr -d '"')
> +                     $crossfile | cut -d ',' -f 2 | \
> +                     tr -d "'" | tr -d '"' | tr -d ']' | tr -d ' ')

The last line can be shortened to
        tr -d "'"'"] '

I'll change while merging.


Reply via email to