summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/support/arara/src/main/kotlin/org/islandoftex/arara/configuration/ConfigurationUtils.kt
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/support/arara/src/main/kotlin/org/islandoftex/arara/configuration/ConfigurationUtils.kt')
-rw-r--r--Master/texmf-dist/source/support/arara/src/main/kotlin/org/islandoftex/arara/configuration/ConfigurationUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/support/arara/src/main/kotlin/org/islandoftex/arara/configuration/ConfigurationUtils.kt b/Master/texmf-dist/source/support/arara/src/main/kotlin/org/islandoftex/arara/configuration/ConfigurationUtils.kt
index 31a92c3009d..a48a6d0d3fc 100644
--- a/Master/texmf-dist/source/support/arara/src/main/kotlin/org/islandoftex/arara/configuration/ConfigurationUtils.kt
+++ b/Master/texmf-dist/source/support/arara/src/main/kotlin/org/islandoftex/arara/configuration/ConfigurationUtils.kt
@@ -87,7 +87,7 @@ object ConfigurationUtils {
var path = Arara::class.java.protectionDomain.codeSource
.location.path
path = URLDecoder.decode(path, "UTF-8")
- return Paths.get(path).parent.toAbsolutePath()
+ return Paths.get(File(path).toURI()).parent.toAbsolutePath()
} catch (exception: UnsupportedEncodingException) {
throw AraraException(
messages.getMessage(