2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-22 14:23:41 +01:00

Changed text as all echo output are buffered

This commit is contained in:
Jiab77 2017-01-23 18:58:27 +01:00
parent 1f7858cd6f
commit db2000c5f7

View File

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