[PATCH] Set locale related environment variables in debugglibc.sh

Carlos O'Donell carlos@redhat.com
Fri Sep 25 03:18:48 GMT 2020


On 9/24/20 8:55 AM, Arjun Shankar wrote:
> On Thu, Sep 24, 2020 at 09:51:11AM +0200, Andreas Schwab wrote:
> 
>>> +# Container tests needing locale data should install them in-container.
>>> +# Other tests/binaries need to use locale data from the build tree.
>>> +if [ "$$CONTAINER" == false ]
>>
>> `==' is non-POSIX.
> 
> Thanks, Andreas. I'll replace with `='.
 
The whole of debugglibc.sh is a bash script and as such may use bash
constructs, and indeed has other instances of '=='.

However, there is value in simplifying this to make it POSIX shell
compatible.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list