#!/bin/bash

#echo "==============================================="
#echo "Write Installer Log"
#echo "*******************"
#echo ""
#echo ""

# Receives two parameters
# $1 = selected volume for location of the install log
# $2 = text to write to the installer log

if [ "$#" -eq 2 ]; then
	logLocation="$1"
	verboseText="$2"
	#echo "DEBUG: passed argument = $logLocation"
	#echo "DEBUG: passed argument = $verboseText"
fi

echo "${verboseText}" >> ${logLocation}/Chameleon_Error_Log.txt


#echo "-----------------------------------------------"
#echo ""
exit 0