From d2a204de3cea165ba5845a644299c012d707927e Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Tue, 10 Jul 2018 04:21:49 +0200 Subject: [PATCH] fix av --- src/Literate.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Literate.jl b/src/Literate.jl index f9f6dd2..7f235fd 100644 --- a/src/Literate.jl +++ b/src/Literate.jl @@ -331,7 +331,7 @@ function markdown(inputfile, outputdir; preprocess = identity, postprocess = ide if pkgsrc === nothing path = "" else - repo_root = first(split(pkgsrc, "src/" * pkg * ".jl")) + repo_root = first(split(pkgsrc, joinpath("src", pkg * ".jl"))) @show repo_root path = relpath(inputfile, repo_root) @show path