forked from freifunk-franken/firmware
Compare commits
2 Commits
802aedeb43
...
2cbe37a14b
Author | SHA1 | Date |
---|---|---|
Johannes Kimmel | 2cbe37a14b | |
Johannes Kimmel | 651e1ceb7c |
|
@ -382,8 +382,10 @@ buildall() {
|
|||
}
|
||||
|
||||
if [ "$(/usr/bin/id -u)" -eq 0 ]; then
|
||||
echo "don't run buildscript as root"
|
||||
exit 1
|
||||
textWarn='\033[1;31m' # bold + red
|
||||
textReset='\033[0m' # be a good citizen
|
||||
echo -e "${textWarn}WARNING: buildscript is running as root${textReset}"
|
||||
echo -e "${textWarn}WARNING: build may fail at a later stage${textReset}"
|
||||
fi
|
||||
|
||||
if [ "$1" != "selectbsp" -a "$1" != "selectvariant" ]; then
|
||||
|
|
Loading…
Reference in New Issue