setup-wolfssl.sh 292 B

1234567891011
  1. #!/bin/bash
  2. set -e # exit on any command failure
  3. if [ ! -d wolfssl ]; then
  4. if [ -z $WOLFSSL_DIR ]; then
  5. echo "Failed to find WOLFSSL_DIR, please set it and run again"
  6. else
  7. git clone $WOLFSSL_DIR
  8. git clone https://github.com/wolfssl/wolfssl-examples
  9. fi
  10. fi