From 5fd2e95c4d8415e07b0d822ef404c861b87daf85 Mon Sep 17 00:00:00 2001 From: Jonathan Barda Date: Mon, 23 Jan 2017 07:36:24 +0100 Subject: [PATCH] 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` --- cscan.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cscan.sh b/cscan.sh index e0a3b01..c5e686f 100755 --- a/cscan.sh +++ b/cscan.sh @@ -1,12 +1,12 @@ #!/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 + git clone --depth=1 https://github.com/tomato42/tlslite-ng.git .tlslite-ng &>/dev/null ln -s .tlslite-ng/tlslite tlslite fi if [ ! -d ./ecdsa ]; then - git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa - ln -s .python-ecdsa/ecdsa ecdsa + git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa &>/dev/null + ln -s .python-ecdsa/src/ecdsa ecdsa fi # update the code if it is running in interactive terminal