From a5c8c5eb5e9193b5d418b07f5faf69d94c684e87 Mon Sep 17 00:00:00 2001 From: Debian LibreOffice Maintainers Date: Thu, 30 Nov 2023 19:47:03 +0100 Subject: [PATCH] no-check-if-root Gbp-Pq: Name no-check-if-root.diff --- Makefile.in | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/Makefile.in b/Makefile.in index 0da4ba05bda..38a465734f1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -59,18 +59,6 @@ else # MAKE_RESTARTS .DEFAULT_GOAL := build -# Nested test is to check if the systemd-detect-virt command doesn't exist or it reports we're not -# in a container: -check-if-root: - @if test ! `uname` = 'Haiku' -a `id -u` = 0; then \ - if test ! -x "$$(command -v systemd-detect-virt)" || ! systemd-detect-virt -c -q; then \ - echo; \ - echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \ - echo; \ - exit 1; \ - fi \ - fi - gb_Side ?= host include $(BUILDDIR)/config_$(gb_Side).mk @@ -276,7 +264,7 @@ endif # # Bootstrap # -bootstrap: check-if-root compilerplugins +bootstrap: compilerplugins # # Build -- 2.30.2