#!/bin/sh -e
[ -z "$DEBUG" ] || set -x
echo "########## source-han-sans-cn-2.004R: 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/source-han-sans-cn-2.004R/source-han-sans-cn-2.004R.tar -T /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/source-han-sans-cn-2.004R/.files-list-target.txt
adb shell true >/dev/null
adb push /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/source-han-sans-cn-2.004R/source-han-sans-cn-2.004R.tar /tmp/
adb shell tar xvf /tmp/source-han-sans-cn-2.004R.tar
