Re: [PATCH] t/perf: fix test_export() failure with BSD `sed`
On Wed, Dec 16, 2020 at 2:29 PM Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 9 quoted lines
> That's almost good enough, but test_export() needs to accumulate the
> to-be-exported variables across multiple calls, so the non-recursive
> definition would likely be:
>
> test_export () {
> test_export_="$test_export_ $*"
> }
>
> which would make a nice cleanup atop this portability-fix patch.A cleanup patch has been posted[1].
[1]: https://lore.kernel.org/git/20201220212740.44273-1-sunshine@sunshineco.com/