source: tags/arb-6.0/SH/arb_fastdnaml

Last change on this file was 11815, checked in by westram, 11 years ago
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 395 bytes
Line 
1#!/bin/sh
2TMPDIR=~/.arb_tmp/tmp
3mkdir -p $TMPDIR
4tmp=$TMPDIR/arb_fdnaml_$$
5mv infile $tmp
6nice -19 $1 < $tmp &
7sig=$!
8/bin/echo "$sig $$ \c" >> $TMPDIR/arb_pids_${USER}_${ARB_PID}
9wait
10# echo $tmp not deleted for debugging purposes
11rm -f $tmp
12rm -f checkpoint.$sig
13mv treefile.$sig treefile
14test -f treefile || (arb_message "Error: 'treefile' not generated (inspect console for details)";false)
Note: See TracBrowser for help on using the repository browser.