no-check-if-root
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sat, 22 Feb 2020 13:46:04 +0000 (13:46 +0000)
committerRene Engelhard <rene@debian.org>
Sat, 22 Feb 2020 13:46:04 +0000 (13:46 +0000)
Gbp-Pq: Name no-check-if-root.diff

Makefile.in

index 50b995df74999e87f733428af22d41463879ac6b..2d180bc8a10af42cea566e50c9c886c694e7c22d 100644 (file)
@@ -59,14 +59,6 @@ else # MAKE_RESTARTS
 
 all: build
 
-check-if-root:
-       @if test ! `uname` = 'Haiku' -a `id -u` = 0 && ! grep -q 'lxc\|docker' /proc/self/cgroup; then \
-               echo; \
-               echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \
-               echo; \
-               exit 1; \
-       fi
-
 gb_Side ?= host
 
 include $(BUILDDIR)/config_$(gb_Side).mk
@@ -268,7 +260,7 @@ endif
 #
 # Bootstrap
 #
-bootstrap: check-if-root compilerplugins
+bootstrap: compilerplugins
 
 #
 # Build