diff options
Diffstat (limited to 'w32/common/gen_dll_res.ps1')
-rw-r--r-- | w32/common/gen_dll_res.ps1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/w32/common/gen_dll_res.ps1 b/w32/common/gen_dll_res.ps1 index 92560ee0..da8e4c6e 100644 --- a/w32/common/gen_dll_res.ps1 +++ b/w32/common/gen_dll_res.ps1 | |||
@@ -19,7 +19,8 @@ foreach($line in Get-Content "${BasePath}..\..\configure.ac") | |||
19 | } | 19 | } |
20 | if ("$MHD_ver" -eq "" -or "$MHD_ver_major" -eq "" -or "$MHD_ver_minor" -eq "" -or "$MHD_ver_patchlev" -eq "") | 20 | if ("$MHD_ver" -eq "" -or "$MHD_ver_major" -eq "" -or "$MHD_ver_minor" -eq "" -or "$MHD_ver_patchlev" -eq "") |
21 | { | 21 | { |
22 | Throw "Can't find MHD version in ${BasePath}..\..\configure.ac" | 22 | Write-Error -Message ("error MHDVSVER01 : Can't find MHD version") |
23 | Throw ($MyInvocation.MyCommand.Name + " : error MHDVSVER01 : Can't find MHD version") | ||
23 | } | 24 | } |
24 | 25 | ||
25 | Write-Output "Detected MHD version: $MHD_ver" | 26 | Write-Output "Detected MHD version: $MHD_ver" |