mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 12:46:53 +00:00
config/options: check if the effective uid is root (and bail if so)
This commit is contained in:
parent
cfe5d2906a
commit
e4c752d394
@ -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
|
# set default language for buildsystem
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user