pre_marking2/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 08 Nov 2021 02:16:33 +0000
changeset 409 0e55b6313adc
parent 382 1bd800376e0c
permissions -rwxr-xr-x
updated

#!/bin/bash
set -euo pipefail


trap "exit" INT

files=${1:-*/pre2}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../../pre_marking2/docdiff_test.sh .
  cp ../../../../../pre_marking2/docdiff_test1.scala .
  cp ../../../../../pre_marking2/docdiff_test2.scala .
  cp ../../../../../pre_marking2/docdiff_test3.scala .
  cp ../../../../../pre_marking2/docdiff_test4.scala .
  ./docdiff_test.sh output
  rm docdiff_test.sh
  rm docdiff_test1.scala
  rm docdiff_test2.scala
  rm docdiff_test3.scala
  rm docdiff_test4.scala
  cd ..
  cd ..
done