onion.sh 387 B

12345678910111213141516171819
  1. #!/bin/bash
  2. fw_installed onion && return 0
  3. git clone https://github.com/davidmoreno/onion.git
  4. cd $IROOT/onion
  5. # Latest commit on master as of July 10 2014
  6. # This is post tag v0.7, but pre any later tags
  7. git checkout c460557bfc7d45fb6ba61cb6b7259480a67dde82
  8. mkdir -p build
  9. cd build
  10. cmake ..
  11. make
  12. echo "export ONION_LOG=noinfo" > $IROOT/onion.installed
  13. source $IROOT/onion.installed