aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/vendors/compile-altera.ps1
diff options
context:
space:
mode:
authorHauke Günther <hauke.guenther@sieb-meyer.de>2022-02-16 13:27:54 +0100
committerHauke Günther <hauke.guenther@sieb-meyer.de>2022-02-16 13:27:54 +0100
commit5c01e9b7953054e1de7fd3e0ce0055205071c950 (patch)
tree155d96b127809b6c2e237713838a51f7a8dd393b /scripts/vendors/compile-altera.ps1
parent29289cbb4fb0bf5c8424519bf97220205f892151 (diff)
downloadghdl-5c01e9b7953054e1de7fd3e0ce0055205071c950.tar.gz
ghdl-5c01e9b7953054e1de7fd3e0ce0055205071c950.tar.bz2
ghdl-5c01e9b7953054e1de7fd3e0ce0055205071c950.zip
Fix get vendor tool directory from env variable
Diffstat (limited to 'scripts/vendors/compile-altera.ps1')
-rw-r--r--scripts/vendors/compile-altera.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vendors/compile-altera.ps1 b/scripts/vendors/compile-altera.ps1
index 4efa91b78..3796e5ccf 100644
--- a/scripts/vendors/compile-altera.ps1
+++ b/scripts/vendors/compile-altera.ps1
@@ -118,7 +118,7 @@ if ($All)
function Get-AlteraQuartusDirectory
{ if (Test-Path env:QUARTUS_ROOTDIR)
- { return $QUARTUS_ROOTDIR + "\" + (Get-VendorToolSourceDirectory) }
+ { return $env:QUARTUS_ROOTDIR + "\" + (Get-VendorToolSourceDirectory) }
else
{ $EnvSourceDir = ""
foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem')