diff --git a/src/new_build.sh b/src/new_build.sh index 4a4d43a..781a36c 100755 --- a/src/new_build.sh +++ b/src/new_build.sh @@ -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