Compare commits

...

2 Commits

Author SHA1 Message Date
Johannes Kimmel 25114a1812 buildscript: print warning instead of failing build
Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
2024-01-19 22:38:47 +01:00
Johannes Kimmel e70d4a538c Revert "buildscript: don't error out when running as root"
This reverts commit e2cc7fc21d.
2024-01-19 22:36:32 +01:00
1 changed files with 5 additions and 0 deletions

View File

@ -381,6 +381,11 @@ buildall() {
done
}
if [ "$(/usr/bin/id -u)" -eq 0 ]; then
echo "WARNING: buildscript is running as root"
echo "WARNING: build may fail at a later stage"
fi
if [ "$1" != "selectbsp" -a "$1" != "selectvariant" ]; then
if [ ! -h selected_bsp ]; then
echo "Please select a Board-Support-Package using:"