Skip to content

Commit

Permalink
build: Do not require certificate and key for Blinky
Browse files Browse the repository at this point in the history
Signed-off-by: Gabor Abonyi <[email protected]>
  • Loading branch information
GaborAbonyi authored and urutva committed Jan 17, 2024
1 parent 0d10f6c commit da1efaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions release_changes/202401111515.change
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

build: Do not require certificate and key for Blinky
4 changes: 2 additions & 2 deletions tools/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,13 @@ case "$TOOLCHAIN" in
;;
esac

if [ ! -f "$CERTIFICATE_PATH" ]; then
if [ "$EXAMPLE" != "blinky" ] && [ ! -f "$CERTIFICATE_PATH" ]; then
echo "The --certificate_path must be set to an existing file."
show_usage
exit 2
fi

if [ ! -f "$PRIVATE_KEY_PATH" ]; then
if [ "$EXAMPLE" != "blinky" ] && [ ! -f "$PRIVATE_KEY_PATH" ]; then
echo "The --private_key_path must be set to an existing file."
show_usage
exit 2
Expand Down

0 comments on commit da1efaf

Please sign in to comment.