2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-12-25 12:13:41 +01:00

Merge pull request #135 from Jiab77/patch-1

Fixed symbolic link creation error and git output supression
This commit is contained in:
Hubert Kario 2017-01-23 16:16:27 +01:00 committed by GitHub
commit e9f3df4e9f

View File

@ -1,12 +1,14 @@
#!/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
ln -s .tlslite-ng/tlslite tlslite
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
ln -s .python-ecdsa/ecdsa ecdsa
ln -s .python-ecdsa/src/ecdsa ecdsa
fi
# update the code if it is running in interactive terminal