Revision 9075
Added by Aaron Marcuse-Kubitza about 11 years ago
db.sh | ||
---|---|---|
37 | 37 |
if test "$schema"; then local database="${database-$schema}"; fi |
38 | 38 |
|
39 | 39 |
local var=ssh_dest; local_inv |
40 |
extern ${ssh_dest:+ssh "$ssh_dest" }"${FUNCNAME[1]}" \
|
|
40 |
command ${ssh_dest:+ssh "$ssh_dest" }"${FUNCNAME[1]}" \
|
|
41 | 41 |
${server:+ --host="$server" }${user:+--user="$user" } --password\ |
42 | 42 |
${password+="$password"} ${database:+--databases "$database" --tables } "$@" |
43 | 43 |
} |
Also available in: Unified diff
*{.sh,run}: replaced extern with command, a shell builtin that does the same thing. this is also part of dash (the Bourne shell on Linux).