2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2025-04-20 08:43:40 +02:00
This commit is contained in:
Jonathan Barda 2017-05-03 15:08:03 +00:00 committed by GitHub
commit a92489d6f2

View File

@ -1,14 +1,15 @@
#!/bin/bash
pushd "$(dirname ${BASH_SOURCE[0]})" > /dev/null
if [ ! -d ./tlslite ]; then
echo -e "\n${BASH_SOURCE[0]}: tlslite-ng not found, downloading..."
git clone --depth=1 https://github.com/tomato42/tlslite-ng.git .tlslite-ng
git clone --depth=1 https://github.com/tomato42/tlslite-ng.git .tlslite-ng --quiet
ln -s .tlslite-ng/tlslite tlslite
echo -e "\n${BASH_SOURCE[0]}: tlslite-ng not found, downloaded."
fi
if [ ! -d ./ecdsa ]; then
echo -e "\n${BASH_SOURCE[0]}: python-ecdsa not found, downloading..."
git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa
git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa --quiet
ln -s .python-ecdsa/src/ecdsa ecdsa
echo -e "${BASH_SOURCE[0]}: python-ecdsa not found, downloaded.\n"
fi
# update the code if it is running in interactive terminal