1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

cd to SRCDIR/branchdir before handling manifests"

This commit is contained in:
Pete 2024-09-02 18:10:27 +01:00
parent 38000b6628
commit c1e0512c9f

@ -138,6 +138,9 @@ fi
branch_dir=${branch//[^[:alnum:]]/_}
branch_dir=${branch_dir^^}
mkdir -p "$SRC_DIR/$branch_dir"
cd "$SRC_DIR/$branch_dir"
if [ -n "$branch" ] && [ -n "$devices" ]; then
case "$branch" in
lineage-21.0*)
@ -150,9 +153,6 @@ if [ -n "$branch" ] && [ -n "$devices" ]; then
;;
esac
android_version_major=$(cut -d '.' -f 1 <<< $android_version)
mkdir -p "$SRC_DIR/$branch_dir"
cd "$SRC_DIR/$branch_dir"
fi
# Handle local manifests