From 097c4985a6ce89241c91aa0ec56c2435ffa36cc1 Mon Sep 17 00:00:00 2001 From: Romeo-Golf Date: Fri, 30 Dec 2016 17:45:31 +0000 Subject: [PATCH] Formatting updates to OGN and HAB decoders --- bash/decoders/hab-lora-gateway.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/decoders/hab-lora-gateway.sh b/bash/decoders/hab-lora-gateway.sh index 60f210e..ffb43ee 100755 --- a/bash/decoders/hab-lora-gateway.sh +++ b/bash/decoders/hab-lora-gateway.sh @@ -135,7 +135,7 @@ fi # Download and compile the required SSDV library. DECODER_GITHUB_URL_SSDV="https://github.com/fsphil/ssdv.git" -DECODER_GITHUB_URL_SSDV_SHORT=`echo ${DECODER_GITHUB_URL_SSDV} | sed -e 's/http:\/\///g' -e 's/https:\/\///g'` +DECODER_GITHUB_URL_SSDV_SHORT=`echo ${DECODER_GITHUB_URL_SSDV} | sed -e 's/http:\/\///g' -e 's/https:\/\///g' | tr '[A-Z]' '[a-z]'` if [[ -d ${DECODER_BUILD_DIRECTORY}/ssdv ]] ; then echo -en "\e[33m Updating SSDV library from \"\e[37m${DECODER_GITHUB_URL_SSDV_SHORT}\e[33m\"...\t\t" cd ${DECODER_BUILD_DIRECTORY}/ssdv @@ -156,7 +156,7 @@ CheckReturnCode # Download and compile the decoder itself. DECODER_GITHUB_URL_LORA_GATEWAY="https://github.com/PiInTheSky/lora-gateway.git" -DECODER_GITHUB_URL_LORA_GATEWAY_SHORT=`echo ${DECODER_GITHUB_URL_LORA_GATEWAY} | sed -e 's/http:\/\///g' -e 's/https:\/\///g'` +DECODER_GITHUB_URL_LORA_GATEWAY_SHORT=`echo ${DECODER_GITHUB_URL_LORA_GATEWAY} | sed -e 's/http:\/\///g' -e 's/https:\/\///g' | tr '[A-Z]' '[a-z]' if [[ -d ${DECODER_BUILD_DIRECTORY}/lora-gateway ]] ; then echo -en "\e[33m Updating ${DECODER_NAME} from \"\e[37m${DECODER_GITHUB_URL_LORA_GATEWAY_SHORT}\e[33m\"..." cd ${DECODER_BUILD_DIRECTORY}/lora-gateway