David Crossley wrote: > Joerg Heinicke wrote: > > 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? > > The second syntax is okay for Bash too. So we would just > need to split all environment settings into two commands. > The build.sh already has a mixture of both methods.
Just updated cocoon-2.1 CVS HEAD, please try it. If you are using the 2.1.5 release rather than current cvs then get it: http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.1/build.sh?content-type=text/plain --David --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
