From e4064023bf7936ced97b0d4de22137742324983d Mon Sep 17 00:00:00 2001 From: sakridge Date: Fri, 16 Feb 2024 21:58:06 +0100 Subject: [PATCH] Set COPYFILE_DISABLE for mac os so it doesn't generate ._ files (#35213) --- ledger/src/blockstore.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ledger/src/blockstore.rs b/ledger/src/blockstore.rs index 45c1cbf49bdb2c..cda801bb296e45 100644 --- a/ledger/src/blockstore.rs +++ b/ledger/src/blockstore.rs @@ -4315,6 +4315,7 @@ pub fn create_new_ledger( blockstore_dir, ]; let output = std::process::Command::new("tar") + .env("COPYFILE_DISABLE", "1") .args(args) .output() .unwrap();