Project

General

Profile

« Previous | Next » 

Revision 10097

bugfix: lib/runscripts/datasrc_dir.run, subdir.run: need to remove leading . from dir name to get installed schema name, using new dir2schema()

View differences:

lib/runscripts/datasrc_dir.run
8 8
if self_not_included; then
9 9

  
10 10
: "${schema="$(log+ 2 cd "$top_dir"; basename "$PWD")"}"; export schema
11
dir2schema
11 12

  
12 13
subdirs=($(cat "$top_dir"/import_order.txt))
13 14

  
lib/runscripts/subdir.run
8 8
: "${schema="$(log+ 2 cd "$top_dir"/..; basename "$PWD")"}"
9 9
: "${subdir="$(log+ 2 cd "$top_dir"   ; basename "$PWD")"}"
10 10
export schema subdir
11
dir2schema
11 12

  
12 13
subdir_make()
13 14
# requires Makefile in datasrc dir with `include ../input.Makefile`

Also available in: Unified diff