mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23: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:
parent
757bfefc6d
commit
5fd2e95c4d
6
cscan.sh
6
cscan.sh
@ -1,12 +1,12 @@
|
|||||||
#!/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
|
||||||
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
|
ln -s .tlslite-ng/tlslite tlslite
|
||||||
fi
|
fi
|
||||||
if [ ! -d ./ecdsa ]; then
|
if [ ! -d ./ecdsa ]; then
|
||||||
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 &>/dev/null
|
||||||
ln -s .python-ecdsa/ecdsa ecdsa
|
ln -s .python-ecdsa/src/ecdsa ecdsa
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# update the code if it is running in interactive terminal
|
# update the code if it is running in interactive terminal
|
||||||
|
Loading…
Reference in New Issue
Block a user