Mercurial > mxe-octave
changeset 4805:e3fe651408f9
fc_update.bat: Remove all cache files before rebuilding (bug #54405).
* fc_update.bat: Use "del" to delete all files in fontconfig cache before
proceeding.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 17 Aug 2018 13:57:05 -0700 |
parents | b44c4c322953 |
children | ecef06348773 |
files | installer-files/fc_update.bat |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/installer-files/fc_update.bat Fri Aug 17 14:12:16 2018 -0400 +++ b/installer-files/fc_update.bat Fri Aug 17 13:57:05 2018 -0700 @@ -1,5 +1,8 @@ @echo off +REM Remove contents of cache directory including tmp and lock files (bug #45458) +del /Q /S %LOCALAPPDATA%\fontconfig\cache\ >nul 2>&1 + set ROOT_DIR=%~dp0 if EXIST %ROOT_DIR%\mingw32\bin\octave-cli.exe set ROOT_DIR=%ROOT_DIR%\mingw32 if EXIST %ROOT_DIR%\mingw64\bin\octave-cli.exe set ROOT_DIR=%ROOT_DIR%\mingw64