Skip to content

Commit 556da4a

Browse files
INOUETAICHIfpistm
authored andcommitted
Resolve upload issues on macOS Ventura
The df -l option on macOS Ventura ignores Mass Storage Volume of STM32. If you remove the -l option it works fine.
1 parent 4502933 commit 556da4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macosx/massStorageCopy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ done
6767
# Search the mountpoint
6868
IFS=' ,\t' read -ra mnt_list <<< "$mountpoint_name"
6969
for mnt in "${mnt_list[@]}"; do
70-
mnt_path_list=($(df -Hl | grep -v "Mounted on" | rev | cut -d' ' -f1 | rev | sort -u | grep "$mnt"))
70+
mnt_path_list=($(df -H | grep -v "Mounted on" | rev | cut -d' ' -f1 | rev | sort -u | grep "$mnt"))
7171
if [ ${#mnt_path_list[@]} -ne 0 ]; then
7272
# Ensure to have exact match
7373
for mnt_path in "${mnt_path_list[@]}"; do

0 commit comments

Comments
 (0)