diff --git a/website/scripts/.htaccess b/website/scripts/.htaccess new file mode 100644 index 00000000..e6fa4a5f --- /dev/null +++ b/website/scripts/.htaccess @@ -0,0 +1,3 @@ +options +indexes + +redirect 301 /scripts/utorrent-postprocess.groovy /scripts/amc.groovy \ No newline at end of file diff --git a/website/scripts/utorrent-postprocess.groovy b/website/scripts/amc.groovy similarity index 99% rename from website/scripts/utorrent-postprocess.groovy rename to website/scripts/amc.groovy index a365aefb..aaf32b65 100644 --- a/website/scripts/utorrent-postprocess.groovy +++ b/website/scripts/amc.groovy @@ -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 }) {