243
|
1 |
#!/bin/sh
|
|
2 |
###set -e
|
|
3 |
|
|
4 |
trap "exit" INT
|
|
5 |
|
326
|
6 |
files=${1:-assignment2019scala-*/Part8}
|
243
|
7 |
|
|
8 |
for sd in $files; do
|
|
9 |
cd $sd
|
|
10 |
echo $sd
|
|
11 |
touch .
|
326
|
12 |
cp ../../../../../marking3/knight1_test.sh .
|
|
13 |
cp ../../../../../marking3/knight1_test1.scala .
|
|
14 |
cp ../../../../../marking3/knight1_test2.scala .
|
|
15 |
cp ../../../../../marking3/knight1_test3a.scala .
|
|
16 |
cp ../../../../../marking3/knight1_test3b.scala .
|
332
|
17 |
./knight1_test.sh output
|
243
|
18 |
rm knight1_test.sh
|
|
19 |
rm knight1_test1.scala
|
|
20 |
rm knight1_test2.scala
|
|
21 |
rm knight1_test3a.scala
|
|
22 |
rm knight1_test3b.scala
|
326
|
23 |
cd ..
|
243
|
24 |
cd ..
|
|
25 |
done
|
|
26 |
|
|
27 |
|