#!/bin/bash

# Abort the script on error
#set -euxo pipefail
set -euo pipefail
#set -e pipefail

# Redirect stdout ( > ) into a named pipe ( >() ) running "tee"
#exec >> Log

# Source tutorial run functions
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
. $WM_PROJECT_DIR/bin/tools/RunFunctions #Prints log to the log.* file only
. $SCRIPT_DIR/../bash/RunFunctions #Prints log to stdout AND the log.* file


logHeader "START"

echo "Running command:" $0 $@

isCase

logHeader "END"
