From 38f82d7a50d4bc9eea69a16200981cb38ce6b70d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Hrb=C3=A1=C4=8D?= <david@hrbac.cz>
Date: Wed, 7 Nov 2018 11:04:57 +0100
Subject: [PATCH] Better 404s check

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f1f9757..b17ba3d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,7 +47,7 @@ ext_links:
   script:
   - wget -V
   - echo https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/
-  - wget --spider -e robots=off -o wget.log -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ awk | '/^Found .* broken links.$/,/FINISHED/ { rc=1; print $0 }; END { exit rc }'
+  - wget --spider -e robots=off -o wget.log -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ | awk '/^Found .* broken links.$/,/FINISHED/ { rc=1; print $0 }; END { exit rc }'
 
 mkdocs:
   stage: build
-- 
GitLab