Revision 9888
Added by Aaron Marcuse-Kubitza over 11 years ago
sync.sh | ||
---|---|---|
12 | 12 |
|
13 | 13 |
base_dir="$local_dir" cmd=canon_rel_path foreach_arg |
14 | 14 |
# also need to --include parent dirs for each --include path |
15 |
local args=() |
|
15 | 16 |
local a; for a in "$@"; do path_parents "$a"; args+=("${dirs[@]}"); done |
16 | 17 |
set -- "${args[@]}" |
17 | 18 |
|
Also available in: Unified diff
bugfix: lib/sh/sync.sh: upload(): added missing `local args=()` initializer