compile.sh 253 B

12345678910
  1. #!/bin/bash
  2. # This script is run by Free Oberon on Linux. Current directory of the
  3. # script will be where FreeOberon executable is located.
  4. cd bin
  5. VOCDIR=../data/bin/voc
  6. VOC=$VOCDIR/bin/voc
  7. $VOC -OC -cfF $2 ../Programs/$1
  8. retcode=$?
  9. cd ..
  10. exit $retcode