14 lines
280 B
Bash
Executable File
14 lines
280 B
Bash
Executable File
ROOT="${PWD}"
|
|
DEVICE_DIR="device/amazon/mt8127-common"
|
|
REPOSITORIES=(
|
|
'frameworks/av'
|
|
)
|
|
|
|
for repository in "${REPOSITORIES[@]}"; do
|
|
cd "${ROOT}/${repository}"
|
|
|
|
git am --whitespace=nowarn --keep-cr "${ROOT}/${DEVICE_DIR}/patches/${repository}"/*
|
|
|
|
cd "${ROOT}"
|
|
done
|