From db2000c5f7980dcb758747821ce979bd28c5ae9f Mon Sep 17 00:00:00 2001 From: Jiab77 Date: Mon, 23 Jan 2017 18:58:27 +0100 Subject: [PATCH] Changed text as all echo output are buffered --- cscan.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cscan.sh b/cscan.sh index 0572d66..8a8fa4d 100755 --- a/cscan.sh +++ b/cscan.sh @@ -1,14 +1,15 @@ #!/bin/bash pushd "$(dirname ${BASH_SOURCE[0]})" > /dev/null 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 + git clone --depth=1 https://github.com/tomato42/tlslite-ng.git .tlslite-ng --quiet ln -s .tlslite-ng/tlslite tlslite + echo -e "\n${BASH_SOURCE[0]}: tlslite-ng not found, downloaded." + fi 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 + git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa --quiet ln -s .python-ecdsa/src/ecdsa ecdsa + echo "${BASH_SOURCE[0]}: python-ecdsa not found, downloaded." fi # update the code if it is running in interactive terminal