Skip to content

Commit

Permalink
Fix argument parsing for flag switches
Browse files Browse the repository at this point in the history
  • Loading branch information
Qonfused committed Jul 25, 2024
1 parent 2b8fbd5 commit 7e9d9f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ if has_flag "--UX581GV"; then
patches+=("-p patch.UX581GV.yml")
fi

echo "Arguments: '${args[@]}' '${patches[@]}'"

# Run build script
args+=("${patches[@]}")
curl -sL https://raw.githubusercontent.com/Qonfused/OCE-Build/main/ci/bootstrap.sh \
| bash -s build "${args[@]} ${patches[@]}"
| bash -s build "${args[@]}"

0 comments on commit 7e9d9f1

Please sign in to comment.