forked from freifunk-franken/firmware
buildscript: don't error out when running as root
Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
This commit is contained in:
parent
fcc8119906
commit
e2cc7fc21d
|
@ -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:"
|
||||
|
|
Loading…
Reference in New Issue