Skip to content

Commit

Permalink
extractor.sh: correct typo calling simg2img
Browse files Browse the repository at this point in the history
This typo invoking simg2img binary affects unpack signed images
  • Loading branch information
carlitros900 authored and erfanoabdi committed Jan 21, 2020
1 parent 88f7f53 commit 64c95e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extractor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ elif [[ $(7z l -ba $romzip | grep "system-sign.img") ]]; then
for file in $sign_list; do
rm -rf "$tmpdir/x.img"
dd if="$tmpdir/$file" of="$tmpdir/x.img" bs=$((0x4040)) skip=1 > /dev/null 2>&1
simg2img "$tmpdir/x.img" "$tmpdir/$file" > /dev/null 2>&1
$simg2img "$tmpdir/x.img" "$tmpdir/$file" > /dev/null 2>&1
done
romzip=""
elif [[ $(7z l -ba $romzip | grep "super.img") ]]; then
Expand Down

0 comments on commit 64c95e2

Please sign in to comment.