summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/arara/rules/arara-rule-move.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/arara/rules/arara-rule-move.yaml')
-rw-r--r--Master/texmf-dist/scripts/arara/rules/arara-rule-move.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/arara/rules/arara-rule-move.yaml b/Master/texmf-dist/scripts/arara/rules/arara-rule-move.yaml
index 82620518845..df9bf69e646 100644
--- a/Master/texmf-dist/scripts/arara/rules/arara-rule-move.yaml
+++ b/Master/texmf-dist/scripts/arara/rules/arara-rule-move.yaml
@@ -23,7 +23,7 @@ commands:
throwError('I cannot move the main file reference.');
}
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.');
}