echo "***" echo "Packing the contents of greenstone3/ into: webapps/webapps_greenstone.war" echo "***" pushd webapps jar cf "greenstone3.war" -C greenstone3/ * popd