Skip to content

Commit

Permalink
Better path support
Browse files Browse the repository at this point in the history
  • Loading branch information
LTruijens committed Apr 8, 2013
1 parent bc74cf9 commit 301049b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PowerShellGac/Gac/Add-GacAssembly.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ function Add-GacAssembly
$paths = @()
foreach ($p in $Path)
{
$paths += Resolve-Path $p
$paths += (Resolve-Path $p).ProviderPath
}
}
else
{
$paths = $LiteralPath
$paths = (Resolve-Path -LiteralPath $LiteralPath).ProviderPath
}

foreach ($p in $paths)
Expand Down

0 comments on commit 301049b

Please sign in to comment.