#!/bin/sh -e [ -z "$DEBUG" ] || set -x echo "########## bluez5_utils-5.62: update ##########" cd /media/seagate_500G/rk3308_linux5.10/buildroot [ -r /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.files-list-target-update.txt ] || exit 0 cd /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/target tar --no-recursion --ignore-failed-read -cf /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/bluez5_utils-5.62-update.tar -T /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.files-list-target-update.txt adb shell true >/dev/null adb push /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/bluez5_utils-5.62-update.tar /tmp/ adb shell tar xvf /tmp/bluez5_utils-5.62-update.tar