424
|
1 |
#!/bin/bash
|
389
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
2 |
###set -e
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
3 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
4 |
trap "exit" INT
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
5 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
6 |
files=${1:-*/main2}
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
7 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
8 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
9 |
for sd in $files; do
|
424
|
10 |
echo -e "\n"
|
389
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
11 |
cd $sd
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
12 |
echo $sd
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
13 |
touch .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
14 |
cp ../../../../../main_marking2/danube_test.sh .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
15 |
cp ../../../../../main_marking2/danube_test1.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
16 |
cp ../../../../../main_marking2/danube_test2.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
17 |
cp ../../../../../main_marking2/danube_test3.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
18 |
cp ../../../../../main_marking2/danube_test4.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
19 |
cp ../../../../../main_marking2/danube_test5.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
20 |
cp ../../../../../main_marking2/danube_test6.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
21 |
cp ../../../../../main_marking2/movies.csv .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
22 |
cp ../../../../../main_marking2/ratings.csv .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
23 |
./danube_test.sh output
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
24 |
rm danube_test.sh
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
25 |
rm danube_test1.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
26 |
rm danube_test2.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
27 |
rm danube_test3.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
28 |
rm danube_test4.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
29 |
rm danube_test5.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
30 |
rm danube_test6.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
31 |
rm ratings.csv
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
32 |
rm movies.csv
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
33 |
cd ..
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
34 |
cd ..
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
35 |
done
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
36 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
37 |
|