Project

General

Profile

1
#!/bin/bash
2
# Runs tnrs_db on VegBIEN
3
# Usage: env [log=] self
4

    
5
selfName="$(basename $0)"
6

    
7
prefix=; . vegbien_dest
8

    
9
if test -n "${log=1}"; then # $log defaults to 1
10
    exec >>"logs/$selfName.log.sql" 2>&1
11
fi
12

    
13
set -x
14
date
15

    
16
exec tnrs_db "$@"
(2-2/2)