diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2022-02-16 18:06:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 18:06:52 +0100 |
commit | f140e6b987b35babc1cc64109de772b1749b58e0 (patch) | |
tree | 155d96b127809b6c2e237713838a51f7a8dd393b | |
parent | 29289cbb4fb0bf5c8424519bf97220205f892151 (diff) | |
parent | 5c01e9b7953054e1de7fd3e0ce0055205071c950 (diff) | |
download | ghdl-f140e6b987b35babc1cc64109de772b1749b58e0.tar.gz ghdl-f140e6b987b35babc1cc64109de772b1749b58e0.tar.bz2 ghdl-f140e6b987b35babc1cc64109de772b1749b58e0.zip |
Fix getting vendor tool directory from environment variable using PowerShell
-rw-r--r-- | scripts/vendors/compile-altera.ps1 | 2 | ||||
-rw-r--r-- | scripts/vendors/compile-intel.ps1 | 2 | ||||
-rw-r--r-- | scripts/vendors/compile-lattice.ps1 | 2 | ||||
-rw-r--r-- | scripts/vendors/compile-xilinx-ise.ps1 | 2 | ||||
-rw-r--r-- | scripts/vendors/compile-xilinx-vivado.ps1 | 2 |
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') |