Project

General

Profile

« Previous | Next » 

Revision 9893

bugfix: lib/sh/sync.sh: upload(): don't kw_params $swap because this unexports it, preventing put from seeing it. instead, use echo_vars to print it.

View differences:

sync.sh
8 8
upload() # usage: local_dir=... remote_url=server:dir upload [opt|path]...
9 9
# requires put from https://uutils.googlecode.com/svn/trunk/bin/put
10 10
{
11
	echo_func; kw_params local_dir remote_url swap
11
	echo_func; kw_params local_dir remote_url; echo_vars swap
12 12
	
13 13
	# change path args to --includes
14 14
	local has_includes= args=()

Also available in: Unified diff