[ can't match globs?

This commit is contained in:
Tom E authored and GitHub committed 2022-11-29 23:33:24 -05:00
1 parent ae7985771c
commit c7d85ed02f
1 file changed
+1 -1
+1 -1
View File
@@ -569,7 +569,7 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then
if [ "$(remote_cmd "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "true" ] && [ "${cpid}" == *"0x7001"* ]; then
disk=7
elif [ "$(remote_cmd "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "false" ]; then
if [ "${cpid}" == *"0x700"* ]; then
if [[ "${cpid}" == *"0x700"* ]]; then
disk=6
else
disk=7