pre_marking3/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 08 Nov 2021 01:03:09 +0000
changeset 401 9471c3b7ea02
parent 386 e2170c91a9f2
permissions -rwxr-xr-x
updated

#!/bin/bash
set -euo pipefail


trap "exit" INT

files=${1:-*/pre3}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../../pre_marking3/postfix_test.sh .
  cp ../../../../../pre_marking3/postfix_test1.scala .
  cp ../../../../../pre_marking3/postfix_test2.scala .
  cp ../../../../../pre_marking3/postfix_test3.scala .
  cp ../../../../../pre_marking3/postfix_test4.scala .
  ./postfix_test.sh output
  rm postfix_test.sh
  rm postfix_test1.scala
  rm postfix_test2.scala
  rm postfix_test3.scala
  rm postfix_test4.scala
  cd ..
  cd ..
done