diff --git a/scripts/update_binary.sh b/scripts/update_binary.sh index 26bc8b12e..687235150 100644 --- a/scripts/update_binary.sh +++ b/scripts/update_binary.sh @@ -4,7 +4,7 @@ extract_bb() { touch "$BBBIN" chmod 755 "$BBBIN" dd if="$0" of="$BBBIN" bs=1024 skip=1 count=$X86_CNT - "$BBBIN" >/dev/null || dd if="$0" of="$BBBIN" bs=1024 skip=$(($X86_CNT + 1)) + "$BBBIN" >/dev/null 2>&1 || dd if="$0" of="$BBBIN" bs=1024 skip=$(($X86_CNT + 1)) } setup_bb() { export BBDIR=$TMPDIR/bin