comparison contrib/editmergeps.ps1 @ 32569:04e18be6e188

contrib: fix a bug preventing editmergeps.ps1 from running unknonw editors '$ executable' is not a way to run executable in powershell, '& executable' is instead. Found this when testing with regular Windows notepad.
author Kostia Balytskyi <ikostia@fb.com>
date Tue, 30 May 2017 06:17:51 -0700
parents 4daf5c18055a
children 92bcaef3420b
comparison
equal deleted inserted replaced
32568:4daf5c18055a 32569:04e18be6e188
63 Write-Output "firstline is: $firstline, previousline is: $previousline" 63 Write-Output "firstline is: $firstline, previousline is: $previousline"
64 } 64 }
65 } 65 }
66 else 66 else
67 { 67 {
68 $ "$ed" $file 68 & "$ed" $file
69 } 69 }
70 70
71 $conflicts=Get-Lines 71 $conflicts=Get-Lines
72 if ($conflicts.Length -ne 0) 72 if ($conflicts.Length -ne 0)
73 { 73 {