From 717b9c0a1302b4f33ad2e6a5e24d1f95512e9dc1 Mon Sep 17 00:00:00 2001 From: Jonathan Barda Date: Mon, 23 Jan 2017 15:27:04 +0100 Subject: [PATCH] Adapted changes as requested Added some detail when required libraries are not present on the host and needs downloading --- cscan.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cscan.sh b/cscan.sh index c5e686f..a80a308 100755 --- a/cscan.sh +++ b/cscan.sh @@ -1,11 +1,13 @@ #!/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 &>/dev/null + echo -e "\ntlslite-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 - git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa &>/dev/null + echo -e "\npython-ecdsa not found, downloading..." + git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa ln -s .python-ecdsa/src/ecdsa ecdsa fi