onion.sh 234 B

1234567891011121314
  1. #!/bin/bash
  2. RETCODE=$(fw_exists onion)
  3. [ ! "$RETCODE" == 0 ] || { return 0; }
  4. git clone https://github.com/davidmoreno/onion.git
  5. cd onion
  6. git checkout c460557bfc7d45fb6ba61cb6b7259480a67dde82
  7. mkdir -p build
  8. cd build
  9. cmake ..
  10. make