Revert "buildscript: don't error out when running as root"
This reverts commit e2cc7fc21d
.
This commit is contained in:
parent
e2cc7fc21d
commit
e70d4a538c
|
@ -381,6 +381,11 @@ buildall() {
|
||||||
done
|
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 [ "$1" != "selectbsp" -a "$1" != "selectvariant" ]; then
|
||||||
if [ ! -h selected_bsp ]; then
|
if [ ! -h selected_bsp ]; then
|
||||||
echo "Please select a Board-Support-Package using:"
|
echo "Please select a Board-Support-Package using:"
|
||||||
|
|
Loading…
Reference in New Issue