fix: don't pack ._ files on MacOS (#2743)

This commit is contained in:
Mario Carneiro 2023-10-24 06:03:51 -04:00 committed by GitHub
parent a7323c9805
commit eaf85607f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,4 +117,6 @@ def tar (name : String) (dir : FilePath) (file : FilePath)
proc {
cmd := "tar"
args := args ++ #["-f", file.toString, "-C", dir.toString, "."]
-- don't pack `._` files on MacOS
env := if Platform.isOSX then #[("COPYFILE_DISABLE", "true")] else #[]
}