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:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user