Skip to content

Commit

Permalink
Fix the stupidly subtle bug of '/' != "."
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Aug 14, 2020
1 parent 716aafd commit 4ae9a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Abstract/DynamicLink.jl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function canonical_rpaths(rpath::RPath)
paths[idx] = abspath(paths[idx])

# Make sure that if it's a directory, it _always_ has a trailing path separator.
if isdir(paths[idx]) && paths[idx][end] != Base.Filesystem.path_separator
if isdir(paths[idx]) && paths[idx][end:end] != Base.Filesystem.path_separator
paths[idx] = paths[idx] * Base.Filesystem.path_separator
end
end
Expand Down

2 comments on commit 4ae9a75

@staticfloat
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: "Tag with name v0.3.4 already exists and points to a different commit"

Please sign in to comment.