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

Few fixes

Added `&>/dev/null` on git commands to suppress their output
Fixed the symbolic link creation that pointed to non existent path. `ecdsa` folder moved to `src/ecdsa`
This commit is contained in:
Jonathan Barda 2017-01-23 07:36:24 +01:00 committed by GitHub
parent 757bfefc6d
commit 5fd2e95c4d

View File

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