summaryrefslogtreecommitdiff
path: root/support/arara/scripts/rules/arara-rule-copy.yaml
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-05-06 03:00:50 +0000
committerNorbert Preining <norbert@preining.info>2022-05-06 03:00:50 +0000
commit3e3ecb7f722d0904c12ee0648c343b865dc99187 (patch)
tree8c13ed895e7191ed6c6a583a9730bde9cdd2a92f /support/arara/scripts/rules/arara-rule-copy.yaml
parentc8185bb3cd55c24b45c9b19c4ea36b8c7057199d (diff)
CTAN sync 202205060300
Diffstat (limited to 'support/arara/scripts/rules/arara-rule-copy.yaml')
-rw-r--r--support/arara/scripts/rules/arara-rule-copy.yaml2
1 files changed, 1 insertions, 1 deletions
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.');
}