Am Freitag, 29. Juli 2011, 21:26:50 schrieb Erich Titl: > Hi KP > > on 29.07.2011 18:25, KP Kirchdoerfer wrote: > > Am Mittwoch, 27. Juli 2011, 22:49:24 schrieb Erich Titl: > ... > > >> and reapply. this should take care of the el/else issue > >> > >> cheers > >> > >> Erich > > > > Done, but then I get > > /bin/sh: syntax error: unexpected "fi" (expecting "then") > > Looks like an incomplete if statement, but this time it is not haserl > complaining, but the shell it is passing the whole shebang to. > > I have the suspicion that constructs like these may be the reason > > <% if . /tmp/$SESSIONID.vars; [ -z "$FORM_file" ] %> > > I _believe_ haserl just passes this to the shell so it must read like > > <% if . /tmp/$SESSIONID.vars; [ -z "$FORM_file" ]; then %> > > At least that is the way my versions look like. Will see if I can make > sed automagically take care of these.
Thanks for confirmation - I missed one these commands earlier. Seems to work pretty well now. kp ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel