From e2cc7fc21d3d4c4467bd34e01a25289f1f662138 Mon Sep 17 00:00:00 2001 From: Johannes Kimmel Date: Fri, 19 Jan 2024 22:22:23 +0100 Subject: [PATCH] buildscript: don't error out when running as root Signed-off-by: Johannes Kimmel --- buildscript | 5 ----- 1 file changed, 5 deletions(-) diff --git a/buildscript b/buildscript index 0eefdeb..7c3d8dd 100755 --- a/buildscript +++ b/buildscript @@ -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:"