From e4d490d8145fed048e786d2bd5e2fc8e00a2d5d5 Mon Sep 17 00:00:00 2001
From: jaden <noreply@example.com>
Date: Mon, 26 Jun 2017 18:10:27 +0200
Subject: [PATCH] fixed docserver url for dav_recursive_mkdir

---
 gitlab/functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index 55de9df..a33a020 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -249,7 +249,7 @@ dav_recursive_mkdir() {
     # make sure the current subpath folder is created
     local response
     # a 405 exit code is returned when the folder already exists
-    response=$(dav_mkdir "$current_subpath" 405)
+    response=$(dav_mkdir "$DOCSERVER/$current_subpath" 405)
     if [[ "${response}" == "405" ]]; then
       log_info "Directory ${current_subpath} already exists."
     else
-- 
GitLab