diff --git a/lib/install.ps1 b/lib/install.ps1 index 122c7d502e..71b311f539 100644 --- a/lib/install.ps1 +++ b/lib/install.ps1 @@ -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"