Re: [PATCH] #!/bin/sh -- #!/usr/bin/env bash

2005-04-23 Thread David A. Wheeler
Alecs King wrote: And as for bash, only gitdiff-do and gitlog.sh 'explicitly' use bash instead of /bin/sh. On most Linux distros, /bin/sh is just a symbolic link to bash. But not on some others. I found gitlsobj.sh could not work using a plain /bin/sh on fbsd. To make life easier, i think it

[PATCH] #!/bin/sh -- #!/usr/bin/env bash

2005-04-21 Thread Alecs King
On Thu, Apr 21, 2005 at 10:31:02PM +0800, Alecs King wrote: On Thu, Apr 21, 2005 at 12:23:26PM +0200, Klaus Robert Suetterlin wrote: Hi, I supply a patch that dehardcodes the path to bash (which is not /bin on all computers) and adds sys/limits.h to provide ULONG_MAX. Hi, i did a