mirror of
https://github.com/topjohnwu/Magisk
synced 2025-08-31 12:15:15 +00:00
fix extract_bb
This commit is contained in:
@@ -4,7 +4,7 @@ extract_bb() {
|
|||||||
touch "$BBBIN"
|
touch "$BBBIN"
|
||||||
chmod 755 "$BBBIN"
|
chmod 755 "$BBBIN"
|
||||||
dd if="$0" of="$BBBIN" bs=1024 skip=$(($X86_CNT + 1))
|
dd if="$0" of="$BBBIN" bs=1024 skip=$(($X86_CNT + 1))
|
||||||
"./$BBBIN" >/dev/null || dd if="$0" of="$BBBIN" bs=1024 skip=1 count=$X86_CNT
|
"$BBBIN" >/dev/null || dd if="$0" of="$BBBIN" bs=1024 skip=1 count=$X86_CNT
|
||||||
}
|
}
|
||||||
setup_bb() {
|
setup_bb() {
|
||||||
BBDIR=$TMPDIR/bin
|
BBDIR=$TMPDIR/bin
|
||||||
|
Reference in New Issue
Block a user