Skip to content

Commit

Permalink
Fix GNOM-main folder name case when downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
briochemc committed Sep 27, 2021
1 parent a13240e commit 9a9b145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common_setup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV["DATADEPS_ALWAYS_ACCEPT"] = true
# to avoid surprises!
root_path = let
current_split_dir = splitpath(@__DIR__)
iroot = findfirst(current_split_dir .== "GNOM")
iroot = findfirst((current_split_dir .== "GNOM") .| (current_split_dir .== "GNOM-main"))
joinpath(current_split_dir[1:iroot]...)
end
# Now we activate the environment
Expand Down

0 comments on commit 9a9b145

Please sign in to comment.