Glassfish WAR Application Deployer Script in BASH