Changeset 13822


Ignore:
Timestamp:
05/23/12 09:45:40 (13 years ago)
Author:
tbretz
Message:
Preliminary final version ;)
Location:
trunk/FACT++
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/recompile.sh

    r13798 r13822  
    33touch compiling.lock
    44
    5 dimctrl --cmd "DIS_DNS/KILL_SERVERS 100" --cmd "DIS_DNS/EXIT 100"
     5if [ ! -x dimctrl ]; then
     6   make $* dimctrl
     7fi
     8
     9dimctrl --quit --cmd ".w 3000" --cmd "DIS_DNS/KILL_SERVERS" --cmd "DIS_DNS/EXIT 100"
    610
    711sleep 5
     
    913make clean
    1014
    11 make -j2 && rm compiling.lock
     15make $* && rm compiling.lock
  • trunk/FACT++/start.sh

    r13798 r13822  
    1 #!/bin/bash
     1#!/bin/bash --login
     2
    23
    34CMD="$*"
     5PRG="$1"
    46
    57while [ true ]; do
     
    1315   echo COMMAND=$CMD
    1416   echo
     17
     18   if [ ! -x $PRG ]; then
     19      echo $1 not available... waiting 5s.
     20      sleep 5
     21      continue
     22   fi
     23
     24   if [ -e compiling.lock ]; then
     25      echo Compilation in progress... waiting 1s.
     26      sleep 1
     27      continue
     28   fi
    1529
    1630   $CMD
     
    2842   fi
    2943
    30    while [ -e compiling ]; do
    31       sleep 1
    32    done
    33 
    3444done
    3545
Note: See TracChangeset for help on using the changeset viewer.