From ead9331aee406fcccd60b379796f04993feb566c Mon Sep 17 00:00:00 2001
From: jaden <noreply@example.com>
Date: Mon, 26 Jun 2017 18:02:30 +0200
Subject: [PATCH] fix read flag from new "-A" to old "-a"

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

diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index 09726ea..55de9df 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -238,7 +238,7 @@ dav_recursive_mkdir() {
 
   # split path into an array of path segments
   # uses a subshell so setting the IFS doesnt mess up *this* shell
-  local path_segments=($(IFS=/ read -r -A arr <<< "$1"; echo "$arr"))
+  local path_segments=($(IFS=/ read -r -a arr <<< "$1"; echo "$arr"))
   local current_subpath=''
 
   # loop through segments
-- 
GitLab