Project

General

Profile

« Previous | Next » 

Revision 9888

bugfix: lib/sh/sync.sh: upload(): added missing `local args=()` initializer

View differences:

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