diff options
author | Haru <haru@dotalux.com> | 2016-10-07 01:01:55 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-10-07 01:10:27 +0200 |
commit | f633010f6a3afbfa8b79dd6bcd5c917c42f1240a (patch) | |
tree | fa919aaba0d050ced03f566b20d2b6ec5678e44d | |
parent | 8a63cf2a89141b1ca1a4d85c4095156843f33c4d (diff) | |
download | hercules-f633010f6a3afbfa8b79dd6bcd5c917c42f1240a.tar.gz hercules-f633010f6a3afbfa8b79dd6bcd5c917c42f1240a.tar.bz2 hercules-f633010f6a3afbfa8b79dd6bcd5c917c42f1240a.tar.xz hercules-f633010f6a3afbfa8b79dd6bcd5c917c42f1240a.zip |
Suppressed the superuser check in CI builds
- Speeds up GitLab builds by 1 minute
Signed-off-by: Haru <haru@dotalux.com>
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 "" |