Revision 7274
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/.TNRS/public.unscrubbed_taxondetermination_view/scrub.make | ||
---|---|---|
9 | 9 |
selfDir="$(dirname -- "$0")" |
10 | 10 |
selfDirName="$(basename -- "$selfDir")" |
11 | 11 |
|
12 |
# Use tnrs.make's lockfile because can't be importing while tnrs.make is |
|
13 |
# scrubbing. tnrs.make leaves tnrs in an incomplete state while running because |
|
14 |
# the accepted names are parsed *after* their matched names. Using a separate |
|
15 |
# lockfile would cause some accepted names to be missing. |
|
16 |
waitself "tnrs/tnrs.make" |
|
17 |
|
|
12 | 18 |
# Config |
13 | 19 |
let pause=2*60*60 # sec; = 2 hr |
14 | 20 |
let maxPause=4*60*60 # sec; =4 hr; must be >= max partition import time (1.5 hr) |
... | ... | |
18 | 24 |
|
19 | 25 |
cd "$selfDir/.." # needed by make |
20 | 26 |
|
21 |
# Use tnrs.make's lockfile because can't be importing while tnrs.make is |
|
22 |
# scrubbing. tnrs.make leaves tnrs in an incomplete state while running because |
|
23 |
# the accepted names are parsed *after* their matched names. Using a separate |
|
24 |
# lockfile would cause some accepted names to be missing. |
|
25 |
waitself "tnrs/tnrs.make" |
|
26 |
|
|
27 | 27 |
make () { env make --makefile=../input.Makefile "$@"; } |
28 | 28 |
|
29 | 29 |
log_="$(make -s "$selfDirName"/log_file)" |
Also available in: Unified diff
inputs/.TNRS/public.unscrubbed_taxondetermination_view/scrub.make: Moved waitself call to top of script