Skip to content

Commit 0257f55

Browse files
staticfloatgiordano
authored andcommitted
Rename autogenerated mounts directory to .mounts
This makes the directory slightly less annoying when doing interactive exploration via something like `julia -e 'using BinaryBuilder; BinaryBuilder.runshell()'
1 parent 11c8aa1 commit 0257f55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Rootfs.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ end
156156

157157
function mount_path(cs::CompilerShard, build_prefix::AbstractString)
158158
if cs.archive_type == :squashfs
159-
return joinpath(build_prefix, "mounts", artifact_name(cs))
159+
return joinpath(build_prefix, ".mounts", artifact_name(cs))
160160
else
161161
name = artifact_name(cs)
162162
artifacts_toml = joinpath(@__DIR__, "..", "Artifacts.toml")
@@ -891,7 +891,7 @@ function unmount_shards(ur::Runner; verbose::Bool = false)
891891

892892
# Remove `mounts` if it's empty
893893
try
894-
rm(joinpath(ur.workspace_root, "mounts"))
894+
rm(joinpath(ur.workspace_root, ".mounts"))
895895
catch
896896
end
897897
end

0 commit comments

Comments
 (0)