aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/vendors/compile-lattice.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/vendors/compile-lattice.ps1')
-rw-r--r--libraries/vendors/compile-lattice.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/vendors/compile-lattice.ps1 b/libraries/vendors/compile-lattice.ps1
index 847e5b1e5..43de58c29 100644
--- a/libraries/vendors/compile-lattice.ps1
+++ b/libraries/vendors/compile-lattice.ps1
@@ -157,7 +157,7 @@ function Get-LatticeDiamondDirectory
{ return $FOUNDRY + "\..\" + (Get-VendorToolSourceDirectory) }
else
{ $EnvSourceDir = ""
- foreach ($Drive in gdr -PSProvider 'FileSystem')
+ foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem')
{ $Path = $Drive.Name + ":\" + "Lattice\Diamond"
if (Test-Path $Path -PathType Container)
{ foreach ($Major in 4..3)