
Permit use of Git while still supporting Subversion. Improve the script structure and reduce dependence on hard-coded paths.
14 lines
412 B
Ruby
Executable file
14 lines
412 B
Ruby
Executable file
#! /usr/bin/ruby
|
|
|
|
=begin
|
|
--------------------------------------------------------------------------------
|
|
|
|
Remove any Tomcat logs.
|
|
|
|
--------------------------------------------------------------------------------
|
|
--------------------------------------------------------------------------------
|
|
=end
|
|
|
|
require File.expand_path('subscripts/common', File.dirname(__FILE__))
|
|
|
|
puts system("rm #{@home}/tomcat/logs/*")
|