[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ./init.sh: line 139: `test-acos': not a valid identifier

From: Jim Meyering
Subject: Re: ./init.sh: line 139: `test-acos': not a valid identifier
Date: Thu, 18 Feb 2010 10:20:37 +0100

Simon Josefsson wrote:

> Jim Meyering <address@hidden> writes:
>> Right.  The *.exe names are sorted, and test-acos is the
>> first one encountered.
> Ah.
>> Is there a more functional shell on that system?
>> If so, is it already detected and thus mentioned
>> somewhere in config.status?
> checking for a shell that conforms to POSIX... /bin/sh
> On that system, /bin/sh is bash 3.2.49 from latest cygwin 1.7.x.

To accommodate "-" in function names would amount
to using a POSIX extension, so we'd have to use bash.

Can you confirm that those tests succeed when you replace
#!/bin/sh with #!/bin/bash in the test scripts that use init.sh?

If so, the proposed re-exec approach should end up solving the problem.
Now we have to determine which replacement shell to use.
One way would be to write something similar to posix-shell.m4
that tests for the added capability.  Or perhaps just perform
the test "live" every time we run init.sh.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]