Skip to content

Commit

Permalink
Updated path in update.resourcefiles.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Apr 2, 2024
1 parent 1026715 commit 23e2244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/windows/update.resourcefiles.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function getVersion($fileName, $start, $padding) {
}

function getImageMagickVersion() {
$versionFile = fullPath "src\ImageMagick\libraries\ImageMagick\m4\version.m4"
$versionFile = fullPath "src\ImageMagick\imagemagick-windows\ImageMagick\m4\version.m4"
$major = getVersion $versionFile "m4_define([magick_major_version], [" 2
$minor = getVersion $versionFile "m4_define([magick_minor_version], [" 2
$micro = getVersion $versionFile "m4_define([magick_micro_version], [" 2
Expand All @@ -72,4 +72,4 @@ $version = getImageMagickVersion

if ($version -ne $null) {
updateResourceFiles $version
}
}

0 comments on commit 23e2244

Please sign in to comment.