main_marking2/mk
changeset 389 4113d4d8cf62
equal deleted inserted replaced
388:ed63dca8068a 389:4113d4d8cf62
       
     1 #!/bin/sh
       
     2 ###set -e
       
     3 
       
     4 trap "exit" INT
       
     5 
       
     6 files=${1:-*/main2}
       
     7 
       
     8 
       
     9 for sd in $files; do
       
    10   cd $sd
       
    11   echo $sd
       
    12   touch .
       
    13   cp ../../../../../main_marking2/danube_test.sh .
       
    14   cp ../../../../../main_marking2/danube_test1.scala .
       
    15   cp ../../../../../main_marking2/danube_test2.scala .
       
    16   cp ../../../../../main_marking2/danube_test3.scala .
       
    17   cp ../../../../../main_marking2/danube_test4.scala .
       
    18   cp ../../../../../main_marking2/danube_test5.scala .
       
    19   cp ../../../../../main_marking2/danube_test6.scala .
       
    20   cp ../../../../../main_marking2/danube_test7a.scala .
       
    21   cp ../../../../../main_marking2/danube_test7b.scala .
       
    22   cp ../../../../../main_marking2/movies.csv .
       
    23   cp ../../../../../main_marking2/ratings.csv .
       
    24   ./danube_test.sh output
       
    25   rm danube_test.sh
       
    26   rm danube_test1.scala
       
    27   rm danube_test2.scala
       
    28   rm danube_test3.scala
       
    29   rm danube_test4.scala
       
    30   rm danube_test5.scala
       
    31   rm danube_test6.scala
       
    32   rm danube_test7a.scala
       
    33   rm danube_test7b.scala
       
    34   rm ratings.csv
       
    35   rm movies.csv
       
    36   cd ..
       
    37   cd ..
       
    38 done
       
    39 
       
    40