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