marking2/mk-advanced
author Christian Urban <urbanc@in.tum.de>
Tue, 19 Nov 2019 00:40:27 +0000
changeset 320 cdfb2ce30a3d
parent 260 b4812c877b05
child 331 e3878cdd38bc
permissions -rwxr-xr-x
updated

#!/bin/sh
###set -e

trap "exit" INT

files=${1:-assignment20187-*}

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
  rm danube_test2.sh
  rm danube_test3.scala
  rm danube_test4.scala
  rm danube_test5.scala
  rm danube_test6.scala
  rm ratings.csv
  rm movies.csv
  cd ..
done