Leo Famulari <l...@famulari.name> writes:
> On Mon, Oct 17, 2016 at 05:55:05PM +0100, Marius Bakke wrote:
>> * gnu/packages/search.scm (xapian)[arguments]: Use 'modify-phases'.
>> + `(#:phases
>> + (modify-phases %standard-phases
>> + (add-after 'unpack 'patch-remotetcp-harness
>> + (lambda _
>> + (substitute* "tests/harness/backendmanager_remotetcp.cc"
>> + (("/bin/sh") (which "bash"))))))))
> Please change it to use (which "sh") instead. Bash changes its behavior
> based on whether it is called as `bash` or `sh` (see Invocation in
I'm aware, but decided to remove it in the subsequent patch since it was
"buggy" anyway, and is not needed when remote TCP tests are disabled.
It was left to avoid justifying the fix when changing to modify-phases.
The phase also does not end on a #t.
But I agree, might as well just fix it and leave it even if the tests
don't use it.