#!/bin/sh -e
[ -z "$DEBUG" ] || set -x
echo "########## sox-7524160b29a476f7e87bc14fddf12d349f9a3c5e: deploy ##########"
cd /home/ych/rk3568/buildroot
cd /home/ych/rk3568/buildroot/output/rockchip_rk3568/target
/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin/tar --no-recursion --ignore-failed-read -cf /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/sox-7524160b29a476f7e87bc14fddf12d349f9a3c5e/sox-7524160b29a476f7e87bc14fddf12d349f9a3c5e.tar -T /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/sox-7524160b29a476f7e87bc14fddf12d349f9a3c5e/.files-list-target.txt
adb shell true >/dev/null
adb push /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/sox-7524160b29a476f7e87bc14fddf12d349f9a3c5e/sox-7524160b29a476f7e87bc14fddf12d349f9a3c5e.tar /tmp/
adb shell tar xvf /tmp/sox-7524160b29a476f7e87bc14fddf12d349f9a3c5e.tar
