A script, for qmail, I was working on for one of my linux boxes always gives the error:

scriptname: line 108: syntax error: unexpected end of file

Line 108 is the last line of the script and I've set it up exactly as I've seen but it always gives this.

The syntax for the rest of the script is correct and works on Solaris and RH ok.

Anyone got any idears?