Project

General

Profile

« Previous | Next » 

Revision 6210

import_all: Create a background process that waits until the import is done and then runs make_analytical_db

View differences:

bin/import_all
25 25
    
26 26
    make inputs/.TNRS/tnrs/tnrs-remake wait=1 "$@" &
27 27
    . "$selfDir/with_all" import "$@"
28
    
29
    after_import ()
30
    {
31
        bin/make_analytical_db
32
    }
33
    
34
    jobs="$(jobs -p)"
35
    ("$selfDir/waitpid" $jobs; after_import) &
28 36
}
29 37
import_all_main "$@"

Also available in: Unified diff