diff --git a/Makefile b/Makefile index 67c5cc6a..d8f35aab 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,11 @@ SHELL = bash ALL_EXCLUDE = third_party .git env build +# Check if root +ifeq ($(shell id -u),0) + $(error ERROR: Running as ID 0) +endif + # Tools + Environment IN_ENV = if [ -e env/bin/activate ]; then . env/bin/activate; fi; env: