Skip to content

Commit d10ad16

Browse files
vchuravygiordano
andauthored
Remove .pkg if no longer augmenting (#1383)
Co-authored-by: Mosè Giordano <[email protected]>
1 parent 4807e56 commit d10ad16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/AutoBuild.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,6 +1559,9 @@ function build_jll_package(src_name::String,
15591559
# Output the result to `stdout` as a TOML dictionary
15601560
TOML.print(stdout, artifacts)
15611561
""")
1562+
else
1563+
# If no augmentation exists, ensure that the pkg_dir gets removed again.
1564+
Base.rm(pkg_dir, recursive=true, force=true)
15621565
end
15631566

15641567
# Generate target-demuxing main source file.

0 commit comments

Comments
 (0)