mirror of
https://github.com/inspec/inspec
synced 2024-11-26 14:40:26 +00:00
Removed Remove-StudioPathFrom from habitat/plan.ps1.
We don't have backslashes in our Gemfile so I'm not sure what it was doing in the first place... AND, apparently the file wasn't there. Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
cf286daa43
commit
87b39d1f7f
1 changed files with 0 additions and 10 deletions
|
@ -67,7 +67,6 @@ function Invoke-Install {
|
|||
Write-BuildLine "** generating binstubs for $gem with precise version pins"
|
||||
Invoke-Expression -Command "appbundler.bat $project_root $pkg_prefix/bin $gem"
|
||||
}
|
||||
Remove-StudioPathFrom -File $pkg_prefix/vendor/gems/inspec-$pkg_version*/Gemfile
|
||||
} finally {
|
||||
Pop-Location
|
||||
# forget about the build bundle config
|
||||
|
@ -89,12 +88,3 @@ function Invoke-After {
|
|||
Get-ChildItem $pkg_prefix/vendor/gems -Include @("gem_make.out", "mkmf.log", "Makefile") -File -Recurse `
|
||||
| Remove-Item -Force
|
||||
}
|
||||
|
||||
function Remove-StudioPathFrom {
|
||||
Param(
|
||||
[Parameter(Mandatory=$true)]
|
||||
[String]
|
||||
$File
|
||||
)
|
||||
(Get-Content $File) -replace ($env:FS_ROOT -replace "\\","/"),"" | Set-Content $File
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue