diff options
Diffstat (limited to 'libraries/vendors/compile-xilinx-ise.ps1')
-rw-r--r-- | libraries/vendors/compile-xilinx-ise.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/vendors/compile-xilinx-ise.ps1 b/libraries/vendors/compile-xilinx-ise.ps1 index 42a54327e..d92fc51a8 100644 --- a/libraries/vendors/compile-xilinx-ise.ps1 +++ b/libraries/vendors/compile-xilinx-ise.ps1 @@ -127,8 +127,8 @@ function Get-XilinxISEDirectory { return $XILINX + "\" + (Get-VendorToolSourceDirectory) } else { $EnvSourceDir = "" - foreach ($Drive in Get-DriveInfo) - { $Path = $Drive.Name + "Xilinx" + foreach ($Drive in gdr -PSProvider 'FileSystem') + { $Path = $Drive.Name + ":\" + "Xilinx" if (Test-Path $Path -PathType Container) { foreach ($Major in 14..12) { foreach ($Minor in 7..1) |