Revision 8926
Added by Aaron Marcuse-Kubitza over 11 years ago
schemas/VegCore/VegCore.ERD.mwb.run | ||
---|---|---|
8 | 8 |
|
9 | 9 |
export archive_filename="$(basename "$archive")" |
10 | 10 |
|
11 |
VegCore.my.sql/make () |
|
12 |
{ |
|
13 |
echo_func; set_make_vars |
|
14 |
database=VegCore mysqldump_local >"$target" |
|
15 |
} |
|
16 |
|
|
17 |
export_mysql () |
|
18 |
{ |
|
19 |
echo_func |
|
20 |
VegCore.my.sql/make |
|
21 |
} |
|
22 |
|
|
11 | 23 |
export_ () |
12 | 24 |
{ |
13 | 25 |
echo_func |
14 | 26 |
(cd "$top_dir" |
15 | 27 |
unzip_newer "$archive_filename" document.mwb.xml) |
28 |
export_mysql |
|
16 | 29 |
} |
17 | 30 |
|
18 | 31 |
import () |
Also available in: Unified diff
schemas/VegCore/VegCore.ERD.mwb.run: added export_mysql (), which runs VegCore.my.sql/make ()