From f633010f6a3afbfa8b79dd6bcd5c917c42f1240a Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 7 Oct 2016 01:01:55 +0200 Subject: Suppressed the superuser check in CI builds - Speeds up GitLab builds by 1 minute Signed-off-by: Haru --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 9fe0c9d5b..1d03a0b1f 100755 --- a/configure +++ b/configure @@ -3454,7 +3454,7 @@ case $host_os in CYGWIN*) ;; *) - if type id >/dev/null 2>&1; then + if type id >/dev/null 2>&1 && test -n "$CI"; then euid="`id -u`" if test "$euid" == "0"; then echo "" diff --git a/configure.ac b/configure.ac index 6cad8146c..10692f957 100644 --- a/configure.ac +++ b/configure.ac @@ -44,7 +44,7 @@ case $host_os in CYGWIN*) ;; *) - if type id >/dev/null 2>&1; then + if type id >/dev/null 2>&1 && test -n "$CI"; then euid="`id -u`" if test "$euid" == "0"; then echo "" -- cgit v1.2.3-70-g09d2