git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Use SHELL_PATH

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 16, 2008, 15:46 UTC
Message-ID
<7vr69tu91e.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<bd6139dc0807160347n2ebcd64fy7a15fe94bfabe580@mail.gmail.com>
"Sverre Rabbelier" <alturin@gmail.com> writes:
Show 26 quoted lines
> On Wed, Jul 16, 2008 at 3:31 AM, SungHyun Nam <goweol@gmail.com> wrote:
>>
>> Signed-off-by: SungHyun Nam <goweol@gmail.com>
>> ---
>>  t/Makefile |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/t/Makefile b/t/Makefile
>> index a778865..0d65ced 100644
>> --- a/t/Makefile
>> +++ b/t/Makefile
>> @@ -26,7 +26,7 @@ clean:
>>        $(RM) -r 'trash directory' test-results
>>
>>  aggregate-results:
>> -       ./aggregate-results.sh test-results/t*-*
>> +       '$(SHELL_PATH_SQ)' ./aggregate-results.sh test-results/t*-*
>>
>>  # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
>>  full-svn-test:
>> --
>> 1.5.6.3.350.g6c11a
>
> It is not clear to me what this patch does, there is no justification
> in the commit msg either. Instead you say what is being done, which we
> can see from the commit diff. Please clarify?

It wants to make sure that the shell specified from the toplevel Makefile (or from make command line) is used to run the aggregation script. It is often necessary when platform /bin/sh is not quite POSIX (e.g. the script in question uses arithmetic expansion "$(( $var1 + $var2 ))").

Just saying "Use specified shell to run shell scripts" on the title line would be sufficient, but I wonder if this is the only remaining place...

Previous: Johannes SchindelinNext: Junio C Hamano
Message 4 of 7 in “Use SHELL_PATH”
  1. Use SHELL_PATHSungHyun Nam, Jul 16, 2008
  2. Sverre RabbelierJul 16, 2008
  3. Johannes SchindelinJul 16, 2008
  4. Junio C HamanoJul 16, 2008
  5. Junio C HamanoJul 16, 2008
  6. SungHyun NamJul 17, 2008
  7. SungHyun NamJul 17, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.