[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 10/10] Collapse skipped template lines
On 04/08/2025 20:50, Tu Dinh wrote: > This is needed to correctly generate multiline INF directives. > > Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx> > --- > scripts/genfiles.ps1 | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/scripts/genfiles.ps1 b/scripts/genfiles.ps1 > index 5b99728..79abf1e 100644 > --- a/scripts/genfiles.ps1 > +++ b/scripts/genfiles.ps1 > @@ -32,7 +32,9 @@ Function Copy-FileWithReplacements { > Write-Host "Skipping Line Containing " $_.Name > $line = $null > } > - $line = $line -replace $key, $_.Value > + if ($null -ne $line) { > + $line = $line -replace $key, $_.Value > + } > } > $line > } | Please disregard this one, I forgot to add In-Reply-To. Ngoc Tu Dinh | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |