From 0d9a4d4576a88a43a73b0b42ace299c58bed149d Mon Sep 17 00:00:00 2001 From: Igglybuff Date: Tue, 16 Feb 2021 12:15:01 +0000 Subject: [PATCH] Fix block size for Darwin `dd` step On macOS Big Sur `1m` causes `dd` to throw an error. It should be uppercase. --- flash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash b/flash index 6cb2f36..098e68f 100755 --- a/flash +++ b/flash @@ -142,7 +142,7 @@ fi case "${OSTYPE}" in darwin*) size_opt="-f %z" - bs_size=1m + bs_size=1M # Check that the system has all the needed binaries/requirements in place check_requirements() {