author | Christian Urban <christian.urban@kcl.ac.uk> |
Thu, 08 Dec 2022 17:53:08 +0000 | |
changeset 452 | 4772b6166720 |
parent 330 | c3d3461a5e77 |
permissions | -rwxr-xr-x |
162 | 1 |
#!/bin/sh |
2 |
###set -e |
|
3 |
||
4 |
trap "exit" INT |
|
5 |
||
330 | 6 |
files=${1:-assignment2019scala-*/Part6} |
162 | 7 |
|
8 |
for sd in $files; do |
|
9 |
cd $sd |
|
10 |
echo $sd |
|
11 |
touch . |
|
330 | 12 |
cp ../../../../marking1/collatz_test.sh . |
13 |
cp ../../../../marking1/collatz_test1.scala . |
|
14 |
cp ../../../../marking1/collatz_test2.scala . |
|
15 |
./collatz_test.sh output1 |
|
16 |
rm collatz_test.sh |
|
162 | 17 |
rm collatz_test1.scala |
18 |
rm collatz_test2.scala |
|
330 | 19 |
cd .. |
162 | 20 |
cd .. |
21 |
done |
|
22 |
||
23 |