Skip to content

Commit

Permalink
boards: make: sleep on mac no units
Browse files Browse the repository at this point in the history
On my mac, the sleep command does not accept a unit:

```
$ sleep 5s
usage: sleep seconds
```

So this just removes the 's' and makes the format match the other if
block we have.
  • Loading branch information
bradjc committed Dec 20, 2024
1 parent 9ae7d61 commit 0856759
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boards/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ endif
ifneq ($(shell $(RUSTUP) target list | grep "$(TARGET) (installed)"),$(TARGET) (installed))
$(warning Request to compile for a missing TARGET, make will install in 5s)
$(warning Consider updating 'targets' in 'rust-toolchain.toml')
$(shell sleep 5s && $(RUSTUP) target add $(TARGET))
$(shell sleep 5)
$(shell $(RUSTUP) target add $(TARGET))
endif
endif # $(NO_RUSTUP)

Expand Down

0 comments on commit 0856759

Please sign in to comment.