summaryrefslogtreecommitdiff
path: root/support/arara/scripts/rules/arara-rule-copy.yaml
diff options
context:
space:
mode:
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.');
}