Revision 9935
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/table.run | ||
---|---|---|
24 | 24 |
|
25 | 25 |
table_make() { subdir_make "$@"; } |
26 | 26 |
|
27 |
install_log_rel=logs/install.log.sql |
|
28 |
|
|
27 | 29 |
table_make_install() |
28 | 30 |
{ |
29 |
echo_func |
|
31 |
echo_func; local install_log="${install_log-$top_dir/$install_log_rel}"
|
|
30 | 32 |
local verbosity_min= # install logs require default verbosity |
31 | 33 |
set -- table_make "$@" |
32 | 34 |
if remaking || test ! -e "$install_log"; then "$@" # OK to clobber log |
... | ... | |
63 | 65 |
if test -e "$file"; then psql "$@"; fi |
64 | 66 |
} |
65 | 67 |
|
66 |
install_log="$top_dir"/logs/install.log.sql |
|
67 |
|
|
68 | 68 |
load_data() |
69 | 69 |
{ |
70 | 70 |
echo_func; set_make_vars |
Also available in: Unified diff
table_make_install(): take $install_log as an overridable kw param to support install logs in different locations