Skip to content

Commit

Permalink
Merge pull request pester#281 from JCapriotti/master
Browse files Browse the repository at this point in the history
Add bin folder to PATH
  • Loading branch information
dlwyatt committed May 4, 2015
2 parents 588ffa9 + 41457a2 commit 0e876e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ end

$scriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
$sourceDirectory = Join-Path $scriptRoot Tools
$binPath = Join-Path $targetDirectory bin

Update-Directory -Source $sourceDirectory -Destination $targetDirectory

Install-ChocolateyPath $binPath

if ($PSVersionTable.PSVersion.Major -lt 4)
{
$modulePaths = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine') -split ';'
Expand Down

0 comments on commit 0e876e5

Please sign in to comment.