From 3e3ecb7f722d0904c12ee0648c343b865dc99187 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 6 May 2022 03:00:50 +0000 Subject: CTAN sync 202205060300 --- support/arara/scripts/rules/arara-rule-copy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/arara/scripts/rules/arara-rule-copy.yaml') diff --git a/support/arara/scripts/rules/arara-rule-copy.yaml b/support/arara/scripts/rules/arara-rule-copy.yaml index 101a92932b..4d67014b06 100644 --- a/support/arara/scripts/rules/arara-rule-copy.yaml +++ b/support/arara/scripts/rules/arara-rule-copy.yaml @@ -20,7 +20,7 @@ commands: prefix = [ 'cmd', '/c', 'copy', '/Y' ]; } t = isList(target) ? target[0] : target; - f = toFile(t).getCanonicalFile(); + f = toFile(t).normalize(); if (getOriginalReference().equals(f)) { throwError('I cannot overwrite the main file reference.'); } -- cgit v1.2.3