Revision 9424
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/db.sh | ||
---|---|---|
16 | 16 |
mk_esc_name() { set_var "$1"_esc "$(esc_name "${!1}")"; } |
17 | 17 |
|
18 | 18 |
mk_esc_name_alias() # usage: mk_esc_name_alias schema_esc |
19 |
{ alias mk_"$1"='declare '"$1"'; mk_esc_name '"${1%_esc}"''; }
|
|
19 |
{ alias mk_"$1"='declare '"$1"'; mk_esc_name '"${1%_esc}"'; echo_vars '"$1"; }
|
|
20 | 20 |
|
21 | 21 |
mk_esc_name_alias schema_esc |
22 | 22 |
mk_esc_name_alias table_esc |
Also available in: Unified diff
lib/sh/db.sh: mk_esc_name_alias(): echo_vars the *_esc var when it's set