diff --git a/gitlab/functions.sh b/gitlab/functions.sh index 09726ea775f2c52a1b92e4f730d2fc7b11ffca36..55de9dffd1af206685c0cb59e4f5790be71da40f 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