Skip to content

Commit 161850c

Browse files
fix(bin): resolve false positive
Change-Id: I7f0d2456af337b2c5c1556a3c45b76eeec1ced5b
1 parent 4d2705f commit 161850c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extractor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ elif 7z l -ba "${romzip}" 2>/dev/null | grep -q "system.sin\|.*system_.*\.sin";
497497
fi
498498
elif 7z l -ba "${romzip}" 2>/dev/null | grep -q ".pac$"; then
499499
unisoc
500-
elif 7z l -ba "${romzip}" 2>/dev/null | grep -q "system.bin"; then
500+
elif 7z l -ba "${romzip}" 2>/dev/null | grep -q "*system.bin*"; then
501501
echo "bin images detected"
502502
7z x -y "${romzip}" 2>/dev/null >> "$tmpdir"/zip.log
503503
find "$tmpdir"/ -mindepth 2 -type f -name "*.bin" -exec mv {} . \; # move .img in sub-dir to $tmpdir

0 commit comments

Comments
 (0)