root/inputs/.TNRS/tnrs/tnrs.make @ 6809
1 | 5080 | aaronmk | #!/bin/bash
|
---|---|---|---|
2 | # Runs tnrs_db on VegBIEN
|
||
3 | 5096 | aaronmk | # Usage: env [log=] self
|
4 | 5080 | aaronmk | |
5 | 6067 | aaronmk | selfDir="$(dirname -- "$0")" |
6 | 6066 | aaronmk | selfName="$(basename $0)" |
7 | |||
8 | 5080 | aaronmk | prefix=; . vegbien_dest |
9 | |||
10 | 5096 | aaronmk | if test -n "${log=1}"; then # $log defaults to 1 |
11 | 6067 | aaronmk | exec >>"$selfDir/logs/$selfName.log.sql" 2>&1 |
12 | 5096 | aaronmk | fi
|
13 | 6052 | aaronmk | |
14 | 5122 | aaronmk | set -x |
15 | 6052 | aaronmk | date
|
16 | |||
17 | 5096 | aaronmk | exec tnrs_db "$@" |