Revision 5096
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/.TNRS/tnrs/tnrs.make | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 | 2 |
# Runs tnrs_db on VegBIEN |
3 |
# Usage: env [log=] self |
|
3 | 4 |
|
4 | 5 |
prefix=; . vegbien_dest |
5 | 6 |
|
6 |
exec tnrs_db "$@" &>"$0.log" |
|
7 |
if test -n "${log=1}"; then # $log defaults to 1 |
|
8 |
exec &>"$0.log" |
|
9 |
fi |
|
10 |
exec tnrs_db "$@" |
Also available in: Unified diff
inputs/.TNRS/tnrs/tnrs.make: Added log option which outputs to the terminal instead when set to ""