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

Set source_dir earlier

This commit is contained in:
Pete Fotheringham 2024-10-11 22:27:51 +01:00
parent c38344aebc
commit 34d2a675e6

@ -160,7 +160,8 @@ fi
branch_dir=${branch//[^[:alnum:]]/_} branch_dir=${branch//[^[:alnum:]]/_}
branch_dir=${branch_dir^^} branch_dir=${branch_dir^^}
mkdir -p "$SRC_DIR/$branch_dir" source_dir="$SRC_DIR/$branch_dir"
mkdir -p "$source_dir"
cd "$SRC_DIR/$branch_dir" cd "$SRC_DIR/$branch_dir"
if [ -n "$branch" ] && [ -n "$devices" ]; then if [ -n "$branch" ] && [ -n "$devices" ]; then