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

Dan Nicholson dbn.lists at gmail.com
Fri Mar 7 17:45:15 PST 2008


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, ...

--
Dan



More information about the xorg mailing list