[PATCH] Require bash shell for symlink-mesa.sh

Igor Mozolevsky igor at hybrid-lab.co.uk
Fri Mar 7 19:19:11 PST 2008

On 08/03/2008, Dan Nicholson <dbn.lists at gmail.com> wrote:
> On Fri, Mar 7, 2008 at 5:27 PM, Joerg Sonnenberger
>  <joerg at britannica.bec.de> wrote:
>  > On Fri, Mar 07, 2008 at 04:38:01PM -0800, Dan Nicholson wrote:
>  >  > The symlink-mesa.sh script has a few bashisms, but is currently invoked
>  >  > through /bin/sh. This is a problem if /bin/sh isn't bash. Instead,
>  >  > require bash and use it to process symlink-mesa.sh.
>  >
>  >  What about fixing it to work with sh instead? This is unacceptable for
>  >  the BSDs...
> That'd be the nice thing to do, yes, but a little more work. How do
>  the BSDs deal with this now? Is there another shell this works with? I
>  could easily change the check to something like:
>  AC_PATH_PROG(MESA_SHELL, bash zsh othermagicshell, ...

I've always build mesa+xserver with BSD's sh w/out a problem... What's
the bashism that's breaking sh?


More information about the xorg mailing list