Skip to content

Instantly share code, notes, and snippets.

@emaxerrno
Created August 8, 2013 22:57
Show Gist options
  • Select an option

  • Save emaxerrno/6189605 to your computer and use it in GitHub Desktop.

Select an option

Save emaxerrno/6189605 to your computer and use it in GitHub Desktop.
#!/bin/bash
DESTINATION=/usr/local/Cellar/tomcat/7.0.41/libexec/webapps
SOURCE=/Users/agallego/workspace/tld/portal/target/ROOT.war
rm -rf $DESTINATION/ROOT*
cp $SOURCE $DESTINATION
/usr/local/Cellar/tomcat/7.0.41/bin/catalina run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment