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

Re: [PATCH] contrib: Replaced /bin/sh with /bin/bash to make scripts with Bash syntax work on Solaris.

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 9, 2010, 16:57 UTC
Message-ID
<7vvd7j67wo.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20100808031142.GA20077@burratino>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 10 quoted lines
> Asgeir S. Nilsen wrote:
>
>> +++ b/contrib/ciabot/ciabot.sh
>> @@ -1,4 +1,4 @@
>> -#!/bin/sh
>> +#!/bin/bash
>
> Maybe, relying on a sane $PATH:
>
> 	#!/usr/bin/env sh
That's even worse.  Please don't go there.
Previous: Jonathan NiederNext: Jonathan Nieder
Message 4 of 7 in “contrib: Replaced /bin/sh with /bin/bash to make scripts with Bash syntax work on Solaris.”
  1. contrib: Replaced /bin/sh with /bin/bash to make scripts with Bash syntax work on Solaris.Asgeir S. Nilsen, Aug 6, 2010
  2. Junio C HamanoAug 6, 2010
  3. Jonathan NiederAug 8, 2010
  4. Junio C HamanoAug 9, 2010
  5. Jonathan NiederAug 9, 2010
  6. Junio C HamanoAug 9, 2010
  7. Greg TroxelAug 10, 2010

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.