diff options
Diffstat (limited to 'libraries/vendors/compile-xilinx-vivado.ps1')
-rw-r--r-- | libraries/vendors/compile-xilinx-vivado.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/vendors/compile-xilinx-vivado.ps1 b/libraries/vendors/compile-xilinx-vivado.ps1 index c25ab0c08..b212899fe 100644 --- a/libraries/vendors/compile-xilinx-vivado.ps1 +++ b/libraries/vendors/compile-xilinx-vivado.ps1 @@ -113,8 +113,8 @@ function Get-XilinxVivadoDirectory { return $XILINX_VIVADO + "\" + (Get-VendorToolSourceDirectory) } else { $EnvSourceDir = "" - foreach ($Drive in Get-DriveInfo) - { $Path = $Drive.Name + "Xilinx\Vivado" + foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem') + { $Path = $Drive.Name + ":\" + "Xilinx\Vivado" if (Test-Path $Path -PathType Container) { foreach ($Major in 2018..2014) { foreach ($Minor in 4..1) |