I have the same problem, and looking at the scripts I noticed that all
the shell variables were between quote (for example "${COMMONOPTIONS}"):
removing the quotes did the trick for me. I think it may be due to the
fact that some of those options are empty for me.
ciao
graziano