Project

General

Profile

« Previous | Next » 

Revision 1979

root map: Fill in defaults for inputs from VegBIEN, as well as outputs to it

View differences:

map
8 8

  
9 9
bien_password="$(cat "$selfDir/config/bien_password")"
10 10

  
11
# Defaults
11
# VegBIEN DB defaults
12
prefix=in_
13
test "$in_database" = vegbien && . "$bin/vegbien_dest"
14
unset prefix
15
test "$out_database" = vegbien && . "$bin/vegbien_dest"
16

  
17
# Other defaults
12 18
if test -n "$in_engine"; then
13 19
    test -n "$in_host" || export in_host=localhost
14 20
    if test -z "$in_user"; then
......
24 30
        fi
25 31
    fi
26 32
fi
27
test "$out_database" = vegbien && . "$bin/vegbien_dest"
28 33

  
29 34
exec "$bin/map" "$@"

Also available in: Unified diff