代码拉取完成,页面将自动刷新
#! /bin/sh
if [ -z "$BILI_VLC_ROOT" ]; then
echo "_do_pull.sh is not supposed been executed directly"
echo "execute _pull_xxx.sh instead"
exit 1
fi
BILI_VLC_ANDROID_HASH=707c5f1474
echo "pull "${BILI_VLC_ROOT}":"${BILI_VLC_ANDROID_HASH}
if [ ! -d ${BILI_VLC_ROOT} ]; then
echo "vlc-ports/android source not found, cloning"
git clone git://git.videolan.org/vlc-ports/android ${BILI_VLC_ROOT}
cd ${BILI_VLC_ROOT}
git checkout -B bili ${BILI_VLC_ANDROID_HASH}
cd -
else
echo "vlc-ports/android source found, pulling from remote master"
cd ${BILI_VLC_ROOT}
git fetch origin
git checkout -B bili ${BILI_VLC_ANDROID_HASH}
cd -
fi
echo "patch "${BILI_VLC_MODULE_MODE} ${BILI_VLC_TARGET_MODE}
cd ${BILI_VLC_ROOT}
git am --abort
git am ../patches/ports-android/*.patch
git am ../patches/ports-android/${BILI_VLC_MODULE_MODE}/*.patch
git am ../patches/ports-android/${BILI_VLC_TARGET_MODE}/*.patch
mkdir -p patches
rm patches/100*.patch
cp ../patches/vlc/${BILI_VLC_MODULE_MODE}/100*.patch patches/
cd -
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。