Skip to content

Commit

Permalink
Set source_dir earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
petefoth committed Oct 11, 2024
1 parent c38344a commit 34d2a67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/new_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ fi
branch_dir=${branch//[^[:alnum:]]/_}
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"

if [ -n "$branch" ] && [ -n "$devices" ]; then
Expand Down

0 comments on commit 34d2a67

Please sign in to comment.