From cbd0ed5bef37f3cd52859437fec6e8d7030345f9 Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Sun, 18 Feb 2024 21:05:29 -0800 Subject: [PATCH] Fix firmware script --- docs/tools/firmware.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tools/firmware.sh b/docs/tools/firmware.sh index 435f4cb04..4ccaaa5b1 100644 --- a/docs/tools/firmware.sh +++ b/docs/tools/firmware.sh @@ -25,10 +25,10 @@ case "$os" in echo "Getting Wi-Fi and Bluetooth firmware" if [[ ${1-default} = -v ]] then - tar -cvf "/Volumes/${EFILABEL}/firmware.tar" /usr/share/firmware/* + tar -cvf "/Volumes/${EFILABEL}/firmware.tar" -C /usr/share/firmware/ . gzip --best "/Volumes/${EFILABEL}/firmware.tar" else - tar -cf "/Volumes/${EFILABEL}/firmware.tar" /usr/share/firmware/* + tar -cf "/Volumes/${EFILABEL}/firmware.tar" -C /usr/share/firmware/ . gzip --best "/Volumes/${EFILABEL}/firmware.tar" fi if [[ (${identifier} = iMac19,1) || (${identifier} = iMac19,2) || (${identifier} = iMacPro1,1) ]]