Revision 11872
Added by Aaron Marcuse-Kubitza almost 11 years ago
lib/runscripts/datasrc_dir.run | ||
---|---|---|
17 | 17 |
import() |
18 | 18 |
{ |
19 | 19 |
echo_func; set_make_vars |
20 |
if remaking; then datasrc_make reinstall; fi |
|
20 |
if remaking; then datasrc_make uninstall; fi |
|
21 |
datasrc_make schema |
|
22 |
datasrc_make sql/install </dev/null |
|
23 |
# </dev/null because for datasources w/o SQL files, cat will try to read |
|
24 |
# from stdin |
|
21 | 25 |
fwd "$FUNCNAME" "$@" |
22 | 26 |
} |
23 | 27 |
|
Also available in: Unified diff
bugfix: lib/runscripts/datasrc_dir.run: import(): can't run `datasrc_make reinstall` anymore because this now defers to the runscript for new-style import datasources (which was done so that `make .../install` properly reinstalls all the datasources). instead, call the applicable make targets manually (there are just 2 of them).