diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-03-26 08:37:41 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-03-26 08:37:41 -0700 |
| commit | 6dc98bbcee6a00269dd93d61950d8ab4c55c3d0b (patch) | |
| tree | 32f7137ce81561532f89eb8aee9f04b105d39162 /ports/aws-sdk-cpp/generateFeatures.ps1 | |
| parent | 3e33a7751e4d09fd5d5b9aead9b4ad8d7d9bd3e7 (diff) | |
| download | vcpkg-6dc98bbcee6a00269dd93d61950d8ab4c55c3d0b.tar.gz vcpkg-6dc98bbcee6a00269dd93d61950d8ab4c55c3d0b.zip | |
[aws-sdk-cpp] Remove polly-sample feature. Fixes #3123.
Diffstat (limited to 'ports/aws-sdk-cpp/generateFeatures.ps1')
| -rw-r--r-- | ports/aws-sdk-cpp/generateFeatures.ps1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ports/aws-sdk-cpp/generateFeatures.ps1 b/ports/aws-sdk-cpp/generateFeatures.ps1 index cd61a794f..8c8b1a342 100644 --- a/ports/aws-sdk-cpp/generateFeatures.ps1 +++ b/ports/aws-sdk-cpp/generateFeatures.ps1 @@ -30,6 +30,7 @@ function GetDescription($dir, $modulename) $subfolders | % {
$modulename = $_.name -replace "^aws-cpp-sdk-",""
if ($modulename -match "-tests`$") { return }
+ if ($modulename -match "-sample`$") { return }
if ($modulename -eq "core") { return }
$controltext += @("")
@@ -44,7 +45,7 @@ $subfolders | % { }
Write-Verbose ($controltext -join "`n")
-$controltext | out-file -enc ascii $ControlFile
+[IO.File]::WriteAllText($ControlFile, ($controltext -join "`n")+"`n")
Write-Verbose ($cmakefragmenttext -join "`n")
-$cmakefragmenttext | out-file -enc ascii $CMakeFragmentFile
+[IO.File]::WriteAllText($CMakeFragmentFile, ($cmakefragmenttext -join "`n") +"`n")
|
