Apply patches in the correct directory
This commit is contained in:
parent
a248c2f8b4
commit
57d9e9121f
@ -60,12 +60,12 @@ fi
|
|||||||
echo "Patching implementation files using git patches..."
|
echo "Patching implementation files using git patches..."
|
||||||
if [[ "$IMPLEMENTATION_NAME" = "tdlib" ]]; then
|
if [[ "$IMPLEMENTATION_NAME" = "tdlib" ]]; then
|
||||||
if [[ -d "src/main/patches/tdlib" && "$(ls -A src/main/patches/tdlib)" ]]; then
|
if [[ -d "src/main/patches/tdlib" && "$(ls -A src/main/patches/tdlib)" ]]; then
|
||||||
git apply "src/main/patches/tdlib/*.patch"
|
git apply --directory="generated/implementation" src/main/patches/tdlib/*.patch
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ "$IMPLEMENTATION_NAME" = "tdlight" ]]; then
|
if [[ "$IMPLEMENTATION_NAME" = "tdlight" ]]; then
|
||||||
if [[ -d "src/main/patches/tdlight" && "$(ls -A src/main/patches/tdlight)" ]]; then
|
if [[ -d "src/main/patches/tdlight" && "$(ls -A src/main/patches/tdlight)" ]]; then
|
||||||
git apply "src/main/patches/tdlight/*.patch"
|
git apply --directory="generated/implementation" src/main/patches/tdlight/*.patch
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user