summaryrefslogtreecommitdiff
path: root/w32/common/gen_dll_res.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'w32/common/gen_dll_res.ps1')
-rw-r--r--w32/common/gen_dll_res.ps13
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")
}
if ("$MHD_ver" -eq "" -or "$MHD_ver_major" -eq "" -or "$MHD_ver_minor" -eq "" -or "$MHD_ver_patchlev" -eq "")
{
- Throw "Can't find MHD version in ${BasePath}..\..\configure.ac"
+ Write-Error -Message ("error MHDVSVER01 : Can't find MHD version")
+ Throw ($MyInvocation.MyCommand.Name + " : error MHDVSVER01 : Can't find MHD version")
}
Write-Output "Detected MHD version: $MHD_ver"