From 9774a92acd7f1f8699f27b84361e02990809f43d Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 12 Feb 2013 17:07:59 +0000 Subject: [PATCH] * rename the utorrent-postprocess script to amc --- website/scripts/.htaccess | 3 +++ website/scripts/{utorrent-postprocess.groovy => amc.groovy} | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 website/scripts/.htaccess rename website/scripts/{utorrent-postprocess.groovy => amc.groovy} (99%) 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 }) {