Files
rk35xx-android14/system/tools/release_tools/restore_patches.sh
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

22 lines
519 B
Bash
Executable File

# !/bin/sh
source build/envsetup.sh
export PROJECT_TOP=`gettop`
export DATE=$(date +%Y%m%d.%H%M)
if [ ! -n "$1" ] ;then
export PATCHES_PATH=$(pwd)/PATCHES
else
export PATCHES_PATH=`readlink -f $1`
fi
echo
echo
echo "*****************************"
echo "use ./restore_patches.sh [path_to_your_patches]"
echo "Patches path is $PATCHES_PATH"
echo "*****************************"
.repo/repo/repo forall -pc "$PROJECT_TOP/system/tools/release_tools/restore_patches_body.sh"
echo "******** Done! ************"