Re: [PATCH] perf check-headers.sh: Fix check-headers.sh opts assignment

From: Arnaldo Carvalho de Melo
Date: Mon Mar 26 2018 - 10:21:05 EST


Em Wed, Mar 21, 2018 at 03:05:15PM +0100, Jiri Olsa escreveu:
> Currently opts variable is not zero-ed and we keep
> on adding to it, ending up with:
>
> $ check-headers.sh 2>&1
> + opts=' "-B"'
> + opts=' "-B" "-B"'
> + opts=' "-B" "-B" "-B"'
> + opts=' "-B" "-B" "-B" "-B"'
> + opts=' "-B" "-B" "-B" "-B" "-B"'
> + opts=' "-B" "-B" "-B" "-B" "-B" "-B"'

Thanks, tested and applied.

- Arnaldo