buildscript: don't error out when running as root

Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
This commit is contained in:
Johannes Kimmel 2024-01-19 22:22:23 +01:00
parent fcc8119906
commit e2cc7fc21d
1 changed files with 0 additions and 5 deletions

View File

@ -381,11 +381,6 @@ buildall() {
done
}
if [ "$(/usr/bin/id -u)" -eq 0 ]; then
echo "don't run buildscript as root"
exit 1
fi
if [ "$1" != "selectbsp" -a "$1" != "selectvariant" ]; then
if [ ! -h selected_bsp ]; then
echo "Please select a Board-Support-Package using:"