diff options
Diffstat (limited to 'libraries/vendors/compile-lattice.ps1')
-rw-r--r-- | libraries/vendors/compile-lattice.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/vendors/compile-lattice.ps1 b/libraries/vendors/compile-lattice.ps1 index 2761bf816..847e5b1e5 100644 --- a/libraries/vendors/compile-lattice.ps1 +++ b/libraries/vendors/compile-lattice.ps1 @@ -157,8 +157,8 @@ function Get-LatticeDiamondDirectory { return $FOUNDRY + "\..\" + (Get-VendorToolSourceDirectory) } else { $EnvSourceDir = "" - foreach ($Drive in Get-DriveInfo) - { $Path = $Drive.Name + "Lattice\Diamond" + foreach ($Drive in gdr -PSProvider 'FileSystem') + { $Path = $Drive.Name + ":\" + "Lattice\Diamond" if (Test-Path $Path -PathType Container) { foreach ($Major in 4..3) { foreach ($Minor in 9..0) |