marking2/mk-advanced
changeset 331 e3878cdd38bc
parent 260 b4812c877b05
child 332 703c7e42bf46
--- a/marking2/mk-advanced	Tue Feb 04 11:20:31 2020 +0000
+++ b/marking2/mk-advanced	Tue Feb 04 14:15:42 2020 +0000
@@ -3,21 +3,25 @@
 
 trap "exit" INT
 
-files=${1:-assignment20187-*}
+files=${1:-assignment2019scala-*/Part7}
 
 for sd in $files; do
   cd $sd
   echo $sd
   touch .
-  cp ../../../marking2/danube_test2.sh .
-  cp ../../../marking2/danube_test3.scala .
-  cp ../../../marking2/danube_test4.scala .
-  cp ../../../marking2/danube_test5.scala .
-  cp ../../../marking2/danube_test6.scala .
-  cp ../../../marking2/movies.csv .
-  cp ../../../marking2/ratings.csv .
-  ./danube_test2.sh output
+  cp ../../../../../marking2/danube_test.sh .
+  cp ../../../../../marking2/danube_test1.scala .
+  cp ../../../../../marking2/danube_test2.scala .
+  cp ../../../../../marking2/danube_test3.scala .
+  cp ../../../../../marking2/danube_test4.scala .
+  cp ../../../../../marking2/danube_test5.scala .
+  cp ../../../../../marking2/danube_test6.scala .
+  cp ../../../../../marking2/movies.csv .
+  cp ../../../../../marking2/ratings.csv .
+  ./danube_test.sh output
   rm danube_test2.sh
+  rm danube_test1.scala
+  rm danube_test2.scala
   rm danube_test3.scala
   rm danube_test4.scala
   rm danube_test5.scala
@@ -25,6 +29,7 @@
   rm ratings.csv
   rm movies.csv
   cd ..
+  cd ..
 done