Revision 9834
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/table.run | ||
---|---|---|
52 | 52 |
if test -e "$file"; then psql "$@"; fi |
53 | 53 |
} |
54 | 54 |
|
55 |
load_data()
|
|
55 |
load_data_first_run() # WARNING: clobbers the install log
|
|
56 | 56 |
{ |
57 | 57 |
echo_func |
58 | 58 |
verbosity_min=3 table_make ${remake:+re}install # just the table |
59 | 59 |
# install logs require verbose output |
60 | 60 |
} |
61 | 61 |
|
62 |
load_data() { noclobber=1 load_data_first_run "$@"; } |
|
63 |
|
|
62 | 64 |
import() |
63 | 65 |
{ |
64 | 66 |
echo_func |
Also available in: Unified diff
lib/runscripts/table.run: load_data(): use noclobber=1 to avoid overwriting the install log when re-running the install target idempotently. load_data_first_run() is now available to preserve the output in the log on the first run.