From a5ce6d34c75e9a03f5f70fe6854efdfbf6e82927 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Mon, 24 Jun 2024 18:10:25 +1200 Subject: [PATCH] Fix XPAUTH_PATH search for license --- src/license.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/license.jl b/src/license.jl index 429b7a05..2d5e3f62 100644 --- a/src/license.jl +++ b/src/license.jl @@ -15,7 +15,10 @@ function _get_xpauthpath(xpauth_path = "", verbose::Bool = true) # variables. for key in ("XPAUTH_PATH", "XPRESSDIR") if haskey(ENV, key) + # With the default filename push!(candidates, joinpath(replace(ENV[key], "\"" => ""), XPAUTH)) + # and without + push!(candidates, replace(ENV[key], "\"" => "")) end end # Search in `xpress/lib/../bin/xpauth.xpr`. This is a common location on