Skip to content

Commit

Permalink
Fix firmware script
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpenedblade committed Feb 19, 2024
1 parent 9a2832b commit cbd0ed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tools/firmware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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) ]]
Expand Down

0 comments on commit cbd0ed5

Please sign in to comment.