root/inputs/.TNRS/tnrs/tnrs.make @ 8732
1 |
#!/bin/bash
|
---|---|
2 |
# Runs tnrs_db on VegBIEN
|
3 |
# Usage: make inputs/.TNRS/tnrs/tnrs-remake [log=] [wait=1]
|
4 |
|
5 |
# Handle being run as a .make script
|
6 |
exec >&2 |
7 |
unset MAKEFLAGS MFLAGS |
8 |
|
9 |
selfDir="$(dirname -- "$0")" |
10 |
selfName="$(basename $0)" |
11 |
|
12 |
waitself "$0" |
13 |
|
14 |
. vegbien_dest |
15 |
|
16 |
if test -n "${log=1}"; then # $log defaults to 1 |
17 |
exec >>"$selfDir/logs/$selfName.log.sql" 2>&1 |
18 |
fi
|
19 |
|
20 |
set -x |
21 |
date
|
22 |
|
23 |
exec tnrs_db "$@" |
- « Previous
- 1
- 2
- 3
- Next »