This commit is contained in:
Reinhard Pointner 2012-12-14 15:21:50 +00:00
parent 3a601f13a0
commit 0ef8b9710d
2 changed files with 10 additions and 4 deletions

View File

@ -62,6 +62,7 @@
^Tracker ^Tracker
^Trailer ^Trailer
^transfer$ ^transfer$
^TV$
^user$ ^user$
^VCD$ ^VCD$
^VIDEO_TS$ ^VIDEO_TS$

View File

@ -7,7 +7,10 @@
*/ */
def sshexec(param) { def sshexec(param) {
param << [trust: true] // auto-trust remote hosts param << [trust: true] // auto-trust remote hosts
ant().sshexec(param)
_guarded {
ant().sshexec(param)
}
} }
@ -21,9 +24,11 @@ def sendmail(param) {
def sender = param.remove('from') def sender = param.remove('from')
def recipient = param.remove('to') def recipient = param.remove('to')
ant().mail(param) { _guarded {
from(address:sender) ant().mail(param) {
to(address:recipient) from(address:sender)
to(address:recipient)
}
} }
} }