diff --git a/tools/quartus/run_regtest_synth b/tools/quartus/run_regtest_synth
index d1d5a62098fcb54e8adc748e4ee3f0d3ac36c1b0..062b6e1bfd8a835e1099c2268dfb1397418887f3 100755
--- a/tools/quartus/run_regtest_synth
+++ b/tools/quartus/run_regtest_synth
@@ -56,7 +56,6 @@ SVN_DIR=${HOME}/SVN_$(date -d "today" +"%Y%m%d")
 unb_info $0 "Copying local SVN dir to ${SVN_DIR}"
 unb_exec $0 cp -r ${SVN}/ ${SVN_DIR}
 export SVN=${SVN_DIR}
-SVN=${SVN_DIR}
 
 ###############################################################################
 # Disable exit on unb_error (used in unb_exec)
@@ -121,6 +120,7 @@ MESSAGE="\
 ${NOF_RBF_REQ} RBF files required\n\
 ${NOF_RBF} RBF files generated:\n\
 ${FOUND_RBF}\n"
-LOG=$(cat ${LOGFILE})
+# Cat the logfile and use Sed to get rid of color coding characters
+LOG=$(cat ${LOGFILE} | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g")
 SUBJECT="[REGTEST] Synthesis Result: ${RESULT}"
 printf "${MESSAGE} \n ${LOG}" | mail -s "${SUBJECT}" ${RECIPIENTS}