From a8a1d957624815eb544234cf04bfcf3e6d82b8ac Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Thu, 6 Apr 2017 18:54:56 -0400 Subject: [PATCH] grin is bad at powershell --- daemon/build.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daemon/build.ps1 b/daemon/build.ps1 index f367e3308..b76fb7be6 100644 --- a/daemon/build.ps1 +++ b/daemon/build.ps1 @@ -17,8 +17,7 @@ cd ..\..\ Remove-Item -Recurse -Force temp # copy requirements from lbry, but remove lbryum (we'll add it back in below) and gmpy and miniupnpc (installed manually) -$Skip = @("*lbryum*","*gmpy*","*miniupnpc*") -Get-Content ..\lbry\requirements.txt | Where-Object {$_ -notlike $Skip} | Set-Content requirements.txt +Get-Content ..\lbry\requirements.txt | Select-String -Pattern 'lbryum|gmpy|miniupnpc' -NotMatch | Out-File requirements.txt # for electron, we install lbryum and lbry using submodules Add-Content requirements.txt "`n../lbryum" Add-Content requirements.txt "`n../lbry"