buildscript: don't error out when running as root #299

Closed
jkimmel wants to merge 2 commits from jkimmel/firmware:dont-check-root into master

2 Commits

Author SHA1 Message Date
Johannes Kimmel 6860eee843 buildscript: add color to the root warning
ci/woodpecker/pr/woodpecker Pipeline is pending Details
Use color output when the `tput` command is available.
`tput` handles terminal-dependant capabilities, so the script should
remain portable.

Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
2024-01-22 02:50:48 +01:00
Johannes Kimmel b3c05f60ea buildscript: print warning instead of failing build
Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
2024-01-22 02:50:30 +01:00