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

Re: /bin/sh portability question

From
Sean <seanlkml@sympatico.ca>
Date
Sep 25, 2005, 19:36 UTC
Message-ID
<BAYC1-PASMTP02CBC8364AB52CD372AEC0AE880@CEZ.ICE>
In-Reply-To
<20050925192608.GD19023@schottelius.org>
On Sun, September 25, 2005 3:26 pm, Nico -telmich- Schottelius said:
> I think it's a bad idea, because some systems do not have and want bash,
> because it's unneeded. On all systems here we've ash as /bin/sh and
> /bin/zsh as primary user shell. Thus, /bin/bash does not exist, because
> it's not as comfortable as zsh and not as small as ash.
Hi Nico,

My guess is that your system configuration is in the minority and that most target systems have bash installed today. But all you'd have to do is make a link from /bin/zsh to /bin/bash, or use the SHELL_PATH variable to change all the scripts to /bin/zsh at install time.

Sean
Previous: Nico -telmich- Schottelius
Message 16 of 16 in “/bin/sh portability question”
  1. Peter EriksenSep 23, 2005
  2. Junio C HamanoSep 23, 2005
  3. SeanSep 23, 2005
  4. Junio C HamanoSep 23, 2005
  5. SeanSep 23, 2005
  6. Junio C HamanoSep 23, 2005
  7. Peter EriksenSep 23, 2005
  8. Junio C HamanoSep 24, 2005
  9. Patrick MauritzSep 24, 2005
  10. H. Peter AnvinSep 23, 2005
  11. Morten WelinderSep 23, 2005
  12. Joel BeckerSep 23, 2005
  13. H. Peter AnvinSep 23, 2005
  14. Junio C HamanoSep 24, 2005
  15. Nico -telmich- SchotteliusSep 25, 2005
  16. SeanSep 25, 2005

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.