Revision 8870
Added by Aaron Marcuse-Kubitza about 11 years ago
util.sh | ||
---|---|---|
195 | 195 |
mysql_cmd () # usage: mysql* () { ...; mysql_cmd "$@"; } |
196 | 196 |
{ |
197 | 197 |
echo_func "$@" |
198 |
if test _"$ssh_server" = _"$(hostname -f)"; then local ssh_server=; fi |
|
198 | 199 |
if test -n "$ssh_server"; then |
199 | 200 |
local ssh_dest="${ssh_dest-${ssh_user:+$ssh_user@}$ssh_server}" |
200 | 201 |
fi |
Also available in: Unified diff
lib/util.sh: mysql_cmd (): don't ssh if the ssh_server is this machine