From: Eric Sunshine Date: Mon, 21 Dec 2020 07:23:33 GMT Subject: Re: [PATCH] t/perf: fix test_export() failure with BSD `sed` Message-ID: In-Reply-To: On Wed, Dec 16, 2020 at 2:29 PM Eric Sunshine wrote: > 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/