From 7b9a3c3c08225a031c194bf3a19193932c16531f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 7 Mar 2020 21:41:20 +0000 Subject: arara (7mar20) git-svn-id: svn://tug.org/texlive/trunk@54161 c570f23f-e606-0410-a88d-b1316a301751 --- .../kotlin/org/islandoftex/arara/configuration/ConfigurationUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Master/texmf-dist/source/support') 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( -- cgit v1.2.3