aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
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
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')
-rw-r--r--scripts/vendors/compile-altera.ps12
-rw-r--r--scripts/vendors/compile-intel.ps12
-rw-r--r--scripts/vendors/compile-lattice.ps12
-rw-r--r--scripts/vendors/compile-xilinx-ise.ps12
-rw-r--r--scripts/vendors/compile-xilinx-vivado.ps12
5 files changed, 5 insertions, 5 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')
diff --git a/scripts/vendors/compile-intel.ps1 b/scripts/vendors/compile-intel.ps1
index e2bd259d0..a9cf58c3f 100644
--- a/scripts/vendors/compile-intel.ps1
+++ b/scripts/vendors/compile-intel.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')
diff --git a/scripts/vendors/compile-lattice.ps1 b/scripts/vendors/compile-lattice.ps1
index ca002be4e..0cf23e84a 100644
--- a/scripts/vendors/compile-lattice.ps1
+++ b/scripts/vendors/compile-lattice.ps1
@@ -146,7 +146,7 @@ if ($All)
function Get-LatticeDiamondDirectory
{ if (Test-Path env:FOUNDRY)
- { return $FOUNDRY + "\..\" + (Get-VendorToolSourceDirectory) }
+ { return $env:FOUNDRY + "\..\" + (Get-VendorToolSourceDirectory) }
else
{ $EnvSourceDir = ""
foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem')
diff --git a/scripts/vendors/compile-xilinx-ise.ps1 b/scripts/vendors/compile-xilinx-ise.ps1
index 947d70fd9..39b363117 100644
--- a/scripts/vendors/compile-xilinx-ise.ps1
+++ b/scripts/vendors/compile-xilinx-ise.ps1
@@ -108,7 +108,7 @@ if ($All)
function Get-XilinxISEDirectory
{ if (Test-Path env:XILINX)
- { return $XILINX + "\" + (Get-VendorToolSourceDirectory) }
+ { return $env:XILINX + "\" + (Get-VendorToolSourceDirectory) }
else
{ $EnvSourceDir = ""
foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem')
diff --git a/scripts/vendors/compile-xilinx-vivado.ps1 b/scripts/vendors/compile-xilinx-vivado.ps1
index 790dd09a5..a411ababa 100644
--- a/scripts/vendors/compile-xilinx-vivado.ps1
+++ b/scripts/vendors/compile-xilinx-vivado.ps1
@@ -99,7 +99,7 @@ if ($All)
function Get-XilinxVivadoDirectory
{ if (Test-Path env:XILINX_VIVADO)
- { return $XILINX_VIVADO + "\" + (Get-VendorToolSourceDirectory) }
+ { return $env:XILINX_VIVADO + "\" + (Get-VendorToolSourceDirectory) }
else
{ $EnvSourceDir = ""
foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem')