Put MSBuild.log in build tree rather than /tmp to work on Windows 10 WSL

This commit is contained in:
baldurk
2018-08-18 16:44:31 +01:00
parent 5b89ababd5
commit 3f2862bcd3
+5 -1
View File
@@ -1,7 +1,11 @@
#!/bin/bash
mkdir -p "${REPO_ROOT}/dist"
# Get the logfile as a windows path
LOGFILE=$(cd /tmp && pwd -W)/MSBuild.log
LOGFILE=$(cd ${REPO_ROOT}/dist && cmd.exe /C cd | tr -d '[:space:]')/MSBuild.log
echo "Building, log in ${LOGFILE}"
# Store the path to the error-mail script
ERROR_SCRIPT=$(readlink -f "${BUILD_ROOT}"/scripts/errormail.sh)