2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-05 07:23:42 +01:00

Merge pull request #142 from ebabani/master

Redirect dependency download output to stderr
This commit is contained in:
Hubert Kario 2017-11-13 12:12:29 +01:00 committed by GitHub
commit cb6e027327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,13 @@
#!/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..." echo -e "\n${BASH_SOURCE[0]}: tlslite-ng not found, downloading..." 1>&2
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 1>&2
ln -s .tlslite-ng/tlslite tlslite ln -s .tlslite-ng/tlslite tlslite
fi fi
if [ ! -d ./ecdsa ]; then if [ ! -d ./ecdsa ]; then
echo -e "\n${BASH_SOURCE[0]}: python-ecdsa not found, downloading..." echo -e "\n${BASH_SOURCE[0]}: python-ecdsa not found, downloading..." 1>&2
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 1>&2
ln -s .python-ecdsa/src/ecdsa ecdsa ln -s .python-ecdsa/src/ecdsa ecdsa
fi fi