nimrod.sh 556 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. RETCODE=$(fw_exists nimrod/bin/nimrod)
  3. [ ! "$RETCODE" == 0 ] || { return 0; }
  4. test -d nimrod || git clone git://github.com/Araq/Nimrod.git nimrod
  5. cd nimrod
  6. git checkout 887a1ebe688a01259263ad6e11c9061cfc940456
  7. test -d csources || git clone git://github.com/nimrod-code/csources.git
  8. cd csources
  9. git checkout 0a6e5758ed16bf906fcfdb9e64086edd9b60c5c0
  10. chmod +x build.sh
  11. ./build.sh
  12. cd ../..
  13. RETCODE=$(fw_exists nimrod/koch)
  14. [ ! "$RETCODE" == 0 ] || { return 0; }
  15. cd nimrod
  16. bin/nimrod c koch
  17. ./koch boot -d:release
  18. sudo ./koch install /usr/bin