[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 10/10] Collapse skipped template lines


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Tu Dinh" <ngoc-tu.dinh@xxxxxxxxxx>
  • Date: Mon, 04 Aug 2025 18:52:18 +0000
  • Delivery-date: Mon, 04 Aug 2025 18:52:22 +0000
  • Feedback-id: 30504962:30504962.20250804:md
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.