mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #2248 from MilhouseVH/le90_check_root
config/options: check if the effective uid is root (and bail if so)
This commit is contained in:
commit
a5cd1eee59
@ -1,3 +1,9 @@
|
||||
# Do not build as root. Ever.
|
||||
if [[ $EUID -eq 0 ]]; then
|
||||
echo "Building as the root user is NOT supported. Use a regular user account for the build." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# set default language for buildsystem
|
||||
export LC_ALL=C
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user