Project

General

Profile

« Previous | Next » 

Revision 14694

fix: lib/sh/local.sh: $sync_remote_url: need $USER so user can be overridden when running as root

View differences:

trunk/lib/sh/local.sh
89 89

  
90 90
: "${sync_local_dir=$root_dir}"
91 91
: "${sync_remote_subdir=bien/}"
92
: "${sync_remote_url=jupiter:/data/dev/aaronmk/$sync_remote_subdir}"
92
: "${sync_remote_url=$USER@jupiter:/data/dev/aaronmk/$sync_remote_subdir}"
93
	# need $USER so user can be overridden when running as root
93 94

  
94 95
sync_upload() { echo_func; use_sync; upload --no-owner --no-group "$@"; }
95 96

  

Also available in: Unified diff