On May 26, 2004, at 4:06 PM, Joerg Heinicke wrote:

On 26.05.2004 00:32, Christopher Painter-Wakefield wrote:

There is a bug in the build.sh build script. Sorry if this has been
covered before; this is my first build of a 2.1.x system.
The build.sh uses /bin/sh, which on Solaris and other traditional *nix is
typically Bourne shell. The build.sh is not compatible with Bourne shell,
however. I didn't check it for all errors, but the line
export ANT_HOME=tools
breaks Bourne shell. The correct syntax is
ANT_HOME=tools
export ANT_HOME
Perhaps the INSTALL.txt should mention this, and some workarounds? I
simply changed the build.sh to use /bin/bash, which works on my system.

What's the suggested and prefered fix? Make it compatible for Bourne shell or simply switch to bash? What are the impacts?

I think a reasonable solution would be for someone who has edited build.sh to be compatible with the Bourne shell to make their changes available which can then made available for download. I'm sure someone has done this. There are other shells which need even more work (csh).


There is also the general and lazy solution, include a comment in the install.txt file about shell compatibility and suggest that build.sh be run with /bin/bash.



Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Glen Ezkovich HardBop Consulting [EMAIL PROTECTED] http://www.hard-bop.com


A Proverb for Paranoids:
"If they can get you asking the wrong questions, they don't have to worry about answers."
- Thomas Pynchon Gravity's Rainbow



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to