contrib: fix a bug preventing editmergeps.ps1 from running unknonw editors
authorKostia Balytskyi <ikostia@fb.com>
Tue, 30 May 2017 06:17:51 -0700
changeset 32602 04e18be6e188
parent 32601 4daf5c18055a
child 32603 92bcaef3420b
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.
contrib/editmergeps.ps1
--- a/contrib/editmergeps.ps1	Tue May 30 06:02:31 2017 -0700
+++ b/contrib/editmergeps.ps1	Tue May 30 06:17:51 2017 -0700
@@ -65,7 +65,7 @@
 }
 else
 {
-  $ "$ed" $file
+  & "$ed" $file
 }
 
 $conflicts=Get-Lines