Skip to content

Commit

Permalink
Cleanup shell scripts (#30)
Browse files Browse the repository at this point in the history
Format shell script to be cleaner.
  • Loading branch information
Montana committed May 17, 2023
1 parent 8c59d61 commit c890dd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions deployAndTest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
set -e

function syslog() {
now=`date -u +"%Y-%m-%dT%H:%M:%SZ"`
now=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
echo "[$now] $1"
}

pushd infrastructure

if [ "${CL_RELOAD_ENV}" == "false" ];
then
if [ "${CL_RELOAD_ENV}" == "false" ]; then
syslog "Not establishing resources via Terraform"
else
syslog "Establishing resources via Terraform"
Expand Down

0 comments on commit c890dd9

Please sign in to comment.