From 0b1d5331d691ff96f59526747a425208a7f8c32a Mon Sep 17 00:00:00 2001 From: Jonathan Barda Date: Mon, 23 Jan 2017 16:12:34 +0100 Subject: [PATCH] Added requested changes I may change `${BASH_SOURCE[0]}` by ` `basename $BASH_SOURCE` ` if you prefer --- cscan.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cscan.sh b/cscan.sh index a80a308..0572d66 100755 --- a/cscan.sh +++ b/cscan.sh @@ -1,12 +1,12 @@ #!/bin/bash pushd "$(dirname ${BASH_SOURCE[0]})" > /dev/null if [ ! -d ./tlslite ]; then - echo -e "\ntlslite-ng not found, downloading..." + echo -e "\n${BASH_SOURCE[0]}: tlslite-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 - echo -e "\npython-ecdsa not found, downloading..." + echo -e "\n${BASH_SOURCE[0]}: python-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