Skip to content

Commit

Permalink
Fix: run autoupdate before autoreconf for hunspell build
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
  • Loading branch information
SlySven committed Apr 19, 2024
1 parent 6684721 commit 054f466
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CI/appveyor.functions.ps1
Expand Up @@ -131,6 +131,11 @@ function ExtractZip([string] $zipFile, [string] $outputPath) {
exec "7z" @("-o$outputPath", "x", "$zipFile", "-y")
}

function RunAutoUpdate(){
Step "Running autoupdate"
exec "bash" @("-c", "`"/c/msys64/usr/bin/autoupdate -f -i -v`"")
}

function RunAutoReconfig(){
Step "Running autoreconf"
exec "bash" @("-c", "`"/c/msys64/usr/bin/autoreconf -f -i -v`"")
Expand Down Expand Up @@ -252,6 +257,7 @@ function InstallHunspell() {
Set-Location "hunspell\hunspell-1.7.2"
Step "Changing src\tools\Makefile.am"
(Get-Content src\tools\Makefile.am -Raw) -replace 'hzip ', '' | Out-File -encoding ASCII src\tools\Makefile.am >> "$logFile" 2>&1
RunAutoUpdate()
RunAutoReconfig
RunConfigure
RunMake
Expand Down

0 comments on commit 054f466

Please sign in to comment.