blackbox.sh 339 B

12345678910
  1. #!/bin/bash
  2. # This script is run by FreeOberon on Linux. Current directory of the
  3. # script will be where FreeOberon executable is located. This
  4. # particular script is for console programs compiled with Blackbox.
  5. cd data/bin/bbcp
  6. BBCP=./blackbox
  7. echo "ConsCompiler.Compile('Programs/Mod','$1')" | $BBCP
  8. retcode=$?
  9. cd ../../..
  10. exit $retcode