* rename the utorrent-postprocess script to amc
This commit is contained in:
parent
81f2adc49a
commit
9774a92acd
|
@ -0,0 +1,3 @@
|
||||||
|
options +indexes
|
||||||
|
|
||||||
|
redirect 301 /scripts/utorrent-postprocess.groovy /scripts/amc.groovy
|
|
@ -5,7 +5,7 @@ def failOnError = _args.conflict == 'fail'
|
||||||
// print input parameters
|
// print input parameters
|
||||||
_args.bindings?.each{ _log.finest("Parameter: $it.key = $it.value") }
|
_args.bindings?.each{ _log.finest("Parameter: $it.key = $it.value") }
|
||||||
args.each{ _log.finest("Argument: $it") }
|
args.each{ _log.finest("Argument: $it") }
|
||||||
args.findAll{ !it.exists() }.each{ throw new Exception("$it doesn't exist") }
|
args.findAll{ !it.exists() }.each{ throw new Exception("File not found: $it") }
|
||||||
|
|
||||||
// check user-defined pre-condition
|
// check user-defined pre-condition
|
||||||
if (tryQuietly{ ut_state != ut_state_allow }) {
|
if (tryQuietly{ ut_state != ut_state_allow }) {
|
Loading…
Reference in New Issue