main_marking4/mk
changeset 391 0930e4555b60
equal deleted inserted replaced
390:175a950470a9 391:0930e4555b60
       
     1 #!/bin/sh
       
     2 ###set -e
       
     3 
       
     4 trap "exit" INT
       
     5 
       
     6 files=${1:-*/main4}
       
     7 
       
     8 for sd in $files; do
       
     9   cd $sd
       
    10   echo $sd
       
    11   sleep 5
       
    12   touch .
       
    13   cp ../../../../../main_marking4/knight2_test.sh .
       
    14   cp ../../../../../main_marking4/knight1_test4.scala .
       
    15   cp ../../../../../main_marking4/knight1_test5.scala .
       
    16   cp ../../../../../main_marking4/knight2_test6.scala .
       
    17   cp ../../../../../main_marking4/knight2_test7.scala .
       
    18   cp ../../../../../main_marking4/knight2_test8.scala .
       
    19   cp ../../../../../main_marking4/knight3_test9.scala .
       
    20   ./knight2_test.sh output
       
    21   rm knight2_test.sh
       
    22   rm knight1_test4.scala
       
    23   rm knight1_test5.scala
       
    24   rm knight2_test6.scala
       
    25   rm knight2_test7.scala
       
    26   rm knight2_test8.scala
       
    27   rm knight3_test9.scala
       
    28   cd ..
       
    29   cd ..
       
    30 done
       
    31 
       
    32