From ca665b5344cf2569b61c0724454e9a86b0dab3c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=B6hmke?= Date: Sun, 22 Nov 2015 16:20:43 +0100 Subject: [PATCH] fixed the handling of GITLAB_ROBOTS_PATH --- assets/runtime/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/runtime/functions b/assets/runtime/functions index 801e4c63..b1595933 100644 --- a/assets/runtime/functions +++ b/assets/runtime/functions @@ -867,7 +867,7 @@ install_configuration_templates() { # custom user specified robots.txt if [[ -f ${GITLAB_ROBOTS_PATH} ]]; then - exec_as_git ${GITLAB_ROBOTS_PATH} ${GITLAB_INSTALL_DIR}/public/robots.txt + exec_as_git cp ${GITLAB_ROBOTS_PATH} ${GITLAB_INSTALL_DIR}/public/robots.txt fi ## /etc/nginx/sites-enabled/gitlab