Project

General

Profile

« Previous | Next » 

Revision 8935

schemas/VegCore/VegCore.ERD.mwb.run: use new $top_filename instead of $archive_filename

View differences:

schemas/VegCore/VegCore.ERD.mwb.run
5 5

  
6 6
if self_not_included; then
7 7

  
8
export archive="${BASH_SOURCE[0]%.run}"
9

  
10
export archive_filename="$(basename "$archive")"
11

  
12 8
VegCore.my.sql/make ()
13 9
{
14 10
	echo_func; set_make_vars
......
36 32
export_ ()
37 33
{
38 34
	echo_func
39
	(cd "$top_dir"; unzip_newer "$archive_filename" document.mwb.xml)
35
	(cd "$top_dir"; unzip_newer "$top_filename" document.mwb.xml)
40 36
	export_mysql
41 37
	export_postgres
42 38
}
......
44 40
import ()
45 41
{
46 42
	echo_func
47
	(cd "$top_dir"; zip_newer "$archive_filename" document.mwb.xml)
43
	(cd "$top_dir"; zip_newer "$top_filename" document.mwb.xml)
48 44
}
49 45

  
50 46
sync ()

Also available in: Unified diff