diff options
author | Hauke Günther <hauke.guenther@sieb-meyer.de> | 2022-02-16 13:27:54 +0100 |
---|---|---|
committer | Hauke Günther <hauke.guenther@sieb-meyer.de> | 2022-02-16 13:27:54 +0100 |
commit | 5c01e9b7953054e1de7fd3e0ce0055205071c950 (patch) | |
tree | 155d96b127809b6c2e237713838a51f7a8dd393b /scripts/vendors/compile-xilinx-vivado.ps1 | |
parent | 29289cbb4fb0bf5c8424519bf97220205f892151 (diff) | |
download | ghdl-5c01e9b7953054e1de7fd3e0ce0055205071c950.tar.gz ghdl-5c01e9b7953054e1de7fd3e0ce0055205071c950.tar.bz2 ghdl-5c01e9b7953054e1de7fd3e0ce0055205071c950.zip |
Fix get vendor tool directory from env variable
Diffstat (limited to 'scripts/vendors/compile-xilinx-vivado.ps1')
-rw-r--r-- | scripts/vendors/compile-xilinx-vivado.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
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') |