Project

General

Profile

« Previous | Next » 

Revision 7266

inputs/.TNRS/public.unscrubbed_taxondetermination_view/scrub.make: Fixed bug where need to use tnrs.make's lockfile instead because can't be importing while tnrs.make is scrubbing. tnrs.make leaves tnrs in an incomplete state while running because the accepted names are parsed after their matched names. Using a separate lockfile would cause some accepted names to be missing.

View differences:

inputs/.TNRS/public.unscrubbed_taxondetermination_view/scrub.make
9 9
selfDir="$(dirname -- "$0")"
10 10
selfDirName="$(basename -- "$selfDir")"
11 11

  
12
waitself "$0"
13

  
14 12
# Config
15 13
let pause=2*60*60 # sec; = 2 hr
16 14
let maxPause=4*60*60 # sec; =4 hr; must be >= max partition import time (1.5 hr)
......
20 18

  
21 19
cd "$selfDir/.." # needed by make
22 20

  
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

  
23 27
make () { env make --makefile=../input.Makefile "$@"; }
24 28

  
25 29
log_="$(make -s "$selfDirName"/log_file)"

Also available in: Unified diff