This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Use $(run-program-prefix) in more shell script tests
"H.J. Lu" <hjl.tools@gmail.com> writes:
> On Sun, Oct 21, 2012 at 3:36 PM, Joseph S. Myers
> <joseph@codesourcery.com> wrote:
>> On Fri, 19 Oct 2012, H.J. Lu wrote:
>>
>>> Testing ASCIItst-table.sh:63: no such file or directory:
>>> /export/build/gnu/glibc/build-x86_64-linux/elf/ld-linux-x86-64.so.2
>>> --library-path /export/build/gnu/glibc/build-x86_64-linux:/export/build/gnu/glibc/build-x86_64-linux/math:/export/build/gnu/glibc/build-x86_64-linux/elf:/export/build/gnu/glibc/build-x86_64-linux/dlfcn:/export/build/gnu/glibc/build-x86_64-linux/nss:/export/build/gnu/glibc/build-x86_64-linux/nis:/export/build/gnu/glibc/build-x86_64-linux/rt:/export/build/gnu/glibc/build-x86_64-linux/resolv:/export/build/gnu/glibc/build-x86_64-linux/crypt:/export/build/gnu/glibc/build-x86_64-linux/nptl
>>
>> I don't see this. Can you identify exactly how tst-tables.sh is calling
>> tst-table.sh, and exactly what command tst-table.sh is trying to run that
>> produces this error?
>>
>
> I have
>
> [hjl@gnu-tools-1 tmp]$ echo $SHELL
> /bin/zsh
> [hjl@gnu-tools-1 tmp]$
>
> Should we set SHELL in config.make?
The script should probably use /bin/sh instead of ${SHELL}. Only
inside makefiles ${SHELL} is guaranteed a bourne shell.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."