Fixed WAR detection to be DASH-compatible.

Ubuntu uses Dash [1] as the POSIX-compliant shell. Dash doesn't support `foo,bar` notation, so launcher won't work under Ubuntu. I've expanded WAR detection to be DASH friendly.   

[1] http://en.wikipedia.org/wiki/Almquist_shell