[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    Re: [PATCH util-modular 2/4] release.sh: move the bit to extract the section into a function
From:       Gaetan Nadon <memsize () videotron ! ca>
Date:       2014-05-30 15:17:25
Message-ID: 5388A105.2020809 () videotron ! ca
[Download RAW message or body]

On 14-05-29 06:24 PM, Peter Hutterer wrote:
> I was wondering about that, but at least bash --posix was happy with it and
> I'm struggling how to test pure Bourne shell compatibility.
I used http://www.hoomanb.com/cs/QuickRef/bash_ref.pdf when working on
build.sh. I got feedback from people running on old systems so it has
been working for me.
>  I'd give a
> big +1 for requiring bash for these scripts.
> This isn't some super-portable script that needs to run on everything, it's
> a script that is manually run by a maintainer. And I rather pity the
> maintainer that can't install a proper shell.
I agree (this is not the build.sh script), so as long as the shell
requirement is updated in the comment such that anyone maintaining this
script knows what it is. I suppose it should also be #!/bin/bash.
Perhaps being posix would be a good choice. I am really not an expert in
shell script.
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic