Skip to content

Commit

Permalink
Fix production image build script.
Browse files Browse the repository at this point in the history
Pretty sure the sysinternals strings command used to take "-q" to turn off
the startup banner, now it takes "-nobanner". We filter the output anyway,
so don't pass anything.
  • Loading branch information
rpavlik committed Aug 5, 2016
1 parent 051e64d commit 9c21457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build-ProductionImage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Start-Process (Join-Path $IARRoot "common\bin\IarBuild.exe") -ArgumentList @('Pr

# Generate the config file by grepping for the build string in the elf file.
# Couldn't find any better way to extract this from the object files or final elf file...
$BuildString = (strings -q (Join-Path $PSScriptRoot 'Production\Exe\Project.out') | Select-String -Pattern '\[Sensics')
$BuildString = (strings (Join-Path $PSScriptRoot 'Production\Exe\Project.out') | Select-String -Pattern '\[Sensics')
Out-File (Join-Path $PSScriptRoot 'Production\Exe\Config.txt') -InputObject $BuildString

Write-Host 'Completed build identified as:'
Expand Down

0 comments on commit 9c21457

Please sign in to comment.