From 0257f55e25b2f0059651cf1a42c072e744391159 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Sat, 20 Jun 2020 13:42:10 -0700 Subject: [PATCH] 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()' --- src/Rootfs.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rootfs.jl b/src/Rootfs.jl index b594bd8c..a5cee1d9 100644 --- a/src/Rootfs.jl +++ b/src/Rootfs.jl @@ -156,7 +156,7 @@ end function mount_path(cs::CompilerShard, build_prefix::AbstractString) if cs.archive_type == :squashfs - return joinpath(build_prefix, "mounts", artifact_name(cs)) + return joinpath(build_prefix, ".mounts", artifact_name(cs)) else name = artifact_name(cs) artifacts_toml = joinpath(@__DIR__, "..", "Artifacts.toml") @@ -891,7 +891,7 @@ function unmount_shards(ur::Runner; verbose::Bool = false) # Remove `mounts` if it's empty try - rm(joinpath(ur.workspace_root, "mounts")) + rm(joinpath(ur.workspace_root, ".mounts")) catch end end