diff --git a/build.sh b/build.sh index f4b2bb9..f9b1728 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,12 @@ #!/bin/bash + +txturl='\033[1;36m' +txturl1='\033[0;36m' +txtg='\033[0;32m' +NOCOLOR='\033[0m' + + repoupdate () { echo "" @@ -22,22 +29,20 @@ usage () echo "" echo " Examples of [OPTIONS] can be:" echo "" - echo " network-scanning: This tutorial demonstrates some common nmap port scanning scenarios and explains the output. " + echo -e " ${txtg}network-scanning:${NOCOLOR} This tutorial demonstrates some common nmap port scanning scenarios and explains the output. " echo "" - echo " sensor-node: This tutorial demonstrates, howto create a mote with Raspberry Pi and Arduino & howto use it " + echo -e " ${txtg}sensor-node:${NOCOLOR} This tutorial demonstrates, howto create a mote with Raspberry Pi and Arduino & howto use it " echo "" - echo " help: show this message" + echo -e " ${txtg}help:${NOCOLOR} show this message" echo " ./build.sh help" echo "" echo " ********************************************" - echo " On Error:" + echo -e " ${txturl1}On Error:${NOCOLOR}" echo " Get https://hub.swarmlab.io:5480/v2/: x509: certificate" - echo " Pulling …" echo " ERROR: Get https://hub.swarmlab.io:5480/v2/: x509: certificate signed by unknown authority" - echo "" - echo " run:" - echo " ./0-get-certs.sh " + echo -e " ${txturl1}run:${NOCOLOR}" + echo -e " ${txtg}./0-get-certs.sh${NOCOLOR} " echo " ********************************************" echo "" echo " "