Nice try Sam, but it's only required for the javac instruction. publish can't cope with the windows path, the symbolic(/linux) one was fine.
I haven't time to correct this now, will *try* and do it at the weekend, more likely it won't be until Monday. J. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 01 November 2001 4:22 pm > To: [EMAIL PROTECTED] > Subject: cvs commit: jakarta-alexandria/proposal/gump gen.sh > > > rubys 01/11/01 08:22:28 > > Modified: proposal/gump gen.sh > Log: > TurboLinux bash apparently doesn't like "if [ ] ;" style statements. > Simplifying. Shouldn't break cygwin users, but I'm sure > they will let > me know. ;-) > > Revision Changes Path > 1.22 +4 -7 jakarta-alexandria/proposal/gump/gen.sh > > Index: gen.sh > =================================================================== > RCS file: /home/cvs/jakarta-alexandria/proposal/gump/gen.sh,v > retrieving revision 1.21 > retrieving revision 1.22 > diff -u -r1.21 -r1.22 > --- gen.sh 2001/10/18 11:26:37 1.21 > +++ gen.sh 2001/11/01 16:22:28 1.22 > @@ -9,17 +9,18 @@ > shift > fi > > -test -n "$1" && export SOURCE=$1 > +test -n "$1" && SOURCE=$1 > +test -z "$1" && SOURCE=`hostname | sed s/[.].*//`.xml > > if test "$OSTYPE" = "cygwin32" -o "$OSTYPE" = "cygwin"; then > export CLASSPATH=`cygpath --path --unix "$CLASSPATH"` > export > CLASSPATH=.:jenny.jar:$XALAN/bin/xerces.jar:$XALAN/bin/xalan.j > ar:$CLASSPATH > export CLASSPATH=`cygpath --path --windows "$CLASSPATH"` > + SOURCE=`cygpath -a -w -p "$SOURCE"` > else > export > CLASSPATH=.:jenny.jar:$XALAN/bin/xerces.jar:$XALAN/bin/xalan.j > ar:$CLASSPATH > fi > > -test -z "$1" && export SOURCE=`hostname | sed s/[.].*//`.xml > test -d work && rm -rf work > mkdir work > > @@ -31,11 +32,7 @@ > javac -d classes java/*.java || export FAIL=1 > jar cf jenny.jar -C classes . || export FAIL=1 > echo > -if ( [ $OSTYPE = "cygwin32" ] || [ $OSTYPE = "cygwin" ] ) > && [ -L $SOURCE ] ; then > - java -classpath "$CLASSPATH" Jenny `cygpath -a -w -p > "$SOURCE"` || export FAIL=1 > -else > - java -classpath "$CLASSPATH" Jenny $SOURCE || export FAIL=1 > -fi > +java -classpath "$CLASSPATH" Jenny $SOURCE || export FAIL=1 > > # > ******************************************************************** > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > ======================================================================= Information in this email and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other commitment through the use of this email. Experian Limited (registration number 653331). Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
