marking2/mk-advanced
author Christian Urban <urbanc@in.tum.de>
Wed, 30 Oct 2019 14:21:16 +0000
changeset 289 08b5ddbc7e55
parent 260 b4812c877b05
child 331 e3878cdd38bc
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
162
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/bin/sh
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
227
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
     6
files=${1:-assignment20187-*}
162
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
for sd in $files; do
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
  cd $sd
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
  echo $sd
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
  touch .
260
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    12
  cp ../../../marking2/danube_test2.sh .
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    13
  cp ../../../marking2/danube_test3.scala .
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    14
  cp ../../../marking2/danube_test4.scala .
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    15
  cp ../../../marking2/danube_test5.scala .
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    16
  cp ../../../marking2/danube_test6.scala .
228
33c2655be47d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    17
  cp ../../../marking2/movies.csv .
33c2655be47d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    18
  cp ../../../marking2/ratings.csv .
260
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    19
  ./danube_test2.sh output
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    20
  rm danube_test2.sh
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    21
  rm danube_test3.scala
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    22
  rm danube_test4.scala
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    23
  rm danube_test5.scala
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    24
  rm danube_test6.scala
228
33c2655be47d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    25
  rm ratings.csv
33c2655be47d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    26
  rm movies.csv
162
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
  cd ..
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
done
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30