Skip to content

Commit

Permalink
fix architecture-specific shims (see ScoopInstaller#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesampson committed Jul 7, 2016
1 parent 3b8b000 commit 31d0f98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ function shim_def($item) {
}

function create_shims($manifest, $dir, $global, $arch) {
$shims = arch_specific 'bin' $manifest $arch
$manifest.bin | ?{ $_ -ne $null } | % {
$shims = @(arch_specific 'bin' $manifest $arch)
$shims | ?{ $_ -ne $null } | % {
$target, $name, $arg = shim_def $_
echo "creating shim for $name"

Expand Down

0 comments on commit 31d0f98

Please sign in to comment.