* rename the utorrent-postprocess script to amc

This commit is contained in:
Reinhard Pointner 2013-02-12 17:07:59 +00:00
parent 81f2adc49a
commit 9774a92acd
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
options +indexes
redirect 301 /scripts/utorrent-postprocess.groovy /scripts/amc.groovy

View File

@ -5,7 +5,7 @@ def failOnError = _args.conflict == 'fail'
// print input parameters
_args.bindings?.each{ _log.finest("Parameter: $it.key = $it.value") }
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
if (tryQuietly{ ut_state != ut_state_allow }) {