main_marking1/mk_main1
changeset 424 daf561a83ba6
parent 388 ed63dca8068a
equal deleted inserted replaced
423:e9d14d58be3c 424:daf561a83ba6
       
     1 #!/bin/bash
       
     2 ###set -e
       
     3 
       
     4 trap "exit" INT
       
     5 
       
     6 files=${1:-*/main1}
       
     7 
       
     8 for sd in $files; do
       
     9   echo -e "\n"  
       
    10   cd $sd
       
    11   echo $sd
       
    12   touch .
       
    13   cp ../../../../../main_marking1/drumb_test.sh .
       
    14   cp ../../../../../main_marking1/drumb_test1.scala .
       
    15   cp ../../../../../main_marking1/drumb_test2.scala .
       
    16   cp ../../../../../main_marking1/drumb_test3.scala .
       
    17   cp ../../../../../main_marking1/drumb_test4.scala .
       
    18   cp ../../../../../main_marking1/drumb_test5.scala .
       
    19   cp ../../../../../main_marking1/drumb_test6.scala .
       
    20   cp ../../../../../main_marking1/drumb_test7.scala .
       
    21   cp ../../../../../main_marking1/*.csv .
       
    22   ./drumb_test.sh output
       
    23   rm drumb_test.sh
       
    24   rm drumb_test1.scala
       
    25   rm drumb_test2.scala
       
    26   rm drumb_test3.scala
       
    27   rm drumb_test4.scala
       
    28   rm drumb_test5.scala
       
    29   rm drumb_test6.scala
       
    30   rm drumb_test7.scala
       
    31   rm *.csv
       
    32   cd ..
       
    33   cd ..
       
    34 done
       
    35 
       
    36