build workflow: fix bug using Resolve-Path
This commit is contained in:
@@ -21,7 +21,7 @@ foreach ($it in $PoFiles)
|
|||||||
{
|
{
|
||||||
$folder = "$ExeFolder/Locale/$($it.BaseName)/LC_MESSAGES"
|
$folder = "$ExeFolder/Locale/$($it.BaseName)/LC_MESSAGES"
|
||||||
CreateFolder $folder
|
CreateFolder $folder
|
||||||
$moPath = Resolve-Path $folder/mpvnet.mo
|
$moPath = Resolve-Path $folder/mpvnet.mo -ErrorAction Ignore
|
||||||
msgfmt --output-file=$moPath $it.FullName
|
msgfmt --output-file=$moPath $it.FullName
|
||||||
|
|
||||||
if ($LASTEXITCODE -ne 0)
|
if ($LASTEXITCODE -ne 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user