I'm sure there is an easier way to run bunch of commands from a single
directory, but I don't see it. Can someone shed some light?
This works but is ugly and unmaintainable:
run "mkdir #{base}"
run "cd #{base}; wget -nv -Ofoo.war #{war_url}"
run "cd #{base}; wget -nv -Ofoo.tgz #{conf_url}"
run "cd #{base}; /usr/local/java/bin/jar xvf foo.war"
run "cd #{base}; tar zxvf foo.tgz"
--
Byron
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---