Skip to content

Commit

Permalink
Fix XPAUTH_PATH search for license
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Jun 24, 2024
1 parent 6d91fe0 commit a5ce6d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/license.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5ce6d3

Please sign in to comment.