Skip to content

Conversation

@giordano
Copy link
Member

@giordano giordano commented May 16, 2021

Companion pull request in BinaryBuilder: JuliaPackaging/BinaryBuilder.jl#1059

function logdir(prefix::Prefix)
return joinpath(prefix, "logs")
function logdir(prefix::Prefix; subdir::AbstractString="")
return strip_backslash(joinpath(prefix, "logs", subdir))
Copy link
Member

Choose a reason for hiding this comment

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

Hilariously, strip_backslash() actually strips forward-slashes on Linux/macOS.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's a misnomer 🤦

@giordano giordano merged commit 1eab154 into JuliaPackaging:master May 16, 2021
@giordano giordano deleted the mg/logdir-subdir branch May 16, 2021 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants