pre_marking1/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 27 Nov 2020 15:03:50 +0000
changeset 374 90b267768329
parent 373 d29cd5883c7b
child 376 6cc36d0ef79e
permissions -rwxr-xr-x
updated

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

trap "exit" INT

files=${1:-*/pre1}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../../pre_marking1/collatz_test.sh .
  cp ../../../../../pre_marking1/collatz_test1.scala .
  cp ../../../../../pre_marking1/collatz_test2.scala .
  cp ../../../../../pre_marking1/collatz_test3.scala .
  ./collatz_test.sh output
  rm collatz_test.sh
  rm collatz_test1.scala
  rm collatz_test2.scala
  rm collatz_test3.scala
  cd ..
  cd ..
done