Skip to content

Commit 58b3991

Browse files
authored
Remove .pkg if no longer augmenting
1 parent aa0df0e commit 58b3991

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 get's removed again.
1564+
rm(pkg_dir, recursive=true), force=true
15621565
end
15631566

15641567
# Generate target-demuxing main source file.

0 commit comments

Comments
 (0)