- Timestamp:
- 05/23/12 09:45:40 (12 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/recompile.sh
r13798 r13822 3 3 touch compiling.lock 4 4 5 dimctrl --cmd "DIS_DNS/KILL_SERVERS 100" --cmd "DIS_DNS/EXIT 100" 5 if [ ! -x dimctrl ]; then 6 make $* dimctrl 7 fi 8 9 dimctrl --quit --cmd ".w 3000" --cmd "DIS_DNS/KILL_SERVERS" --cmd "DIS_DNS/EXIT 100" 6 10 7 11 sleep 5 … … 9 13 make clean 10 14 11 make -j2&& rm compiling.lock15 make $* && rm compiling.lock -
trunk/FACT++/start.sh
r13798 r13822 1 #!/bin/bash 1 #!/bin/bash --login 2 2 3 3 4 CMD="$*" 5 PRG="$1" 4 6 5 7 while [ true ]; do … … 13 15 echo COMMAND=$CMD 14 16 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 15 29 16 30 $CMD … … 28 42 fi 29 43 30 while [ -e compiling ]; do31 sleep 132 done33 34 44 done 35 45
Note:
See TracChangeset
for help on using the changeset viewer.