Project

General

Profile

« Previous | Next » 

Revision 8701

lib/table.run: use new local.run instead of defining $bin_dir, etc. itself

View differences:

lib/table.run
14 14
fi ####
15 15

  
16 16
. "$(dirname "${BASH_SOURCE[0]}")"/import.run
17
. "$(dirname "${BASH_SOURCE[0]}")"/local.run
17 18

  
18 19
quote='"'
19 20

  
......
21 22

  
22 23
mk_esc_name () { set_var "$1"_esc "$(esc_name "${!1}")"; }
23 24

  
24
root_dir="$(dirname "${BASH_SOURCE[0]}")"/..
25
bin_dir="$root_dir"/bin
26

  
27 25
: "${schema="$(cd "$top_dir"/..; basename "$PWD")"}"
28 26
mk_esc_name schema
29 27
: "${table="$( cd "$top_dir"   ; basename "$PWD")"}"

Also available in: Unified diff