Skip to content
Snippets Groups Projects
Commit fe0097a7 authored by jaden's avatar jaden
Browse files

trying different way of looping over array

parent f16f53ea
No related branches found
No related tags found
No related merge requests found
......@@ -242,7 +242,7 @@ dav_recursive_mkdir() {
local current_subpath=''
# loop through segments
for seg in $path_segments; do
for seg in "${path_segments[@]}"; do
# append each segment to the current subpath
current_subpath="${current_subpath}${seg}/"
log_info "mkdir $DOCSERVER/$current_subpath"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment