diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-01-16 12:29:06 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-01-16 13:31:46 +0100 |
commit | b7596e645dacf769aeec627123d5cda2def01c4e (patch) | |
tree | 675f25ba3c59b181a8d4cdaa34a6426b382e58b2 /libraries/vendors/compile-osvvm.sh | |
parent | 9c4c05ccad13f7496083d05c54c46b9243e94733 (diff) | |
download | ghdl-b7596e645dacf769aeec627123d5cda2def01c4e.tar.gz ghdl-b7596e645dacf769aeec627123d5cda2def01c4e.tar.bz2 ghdl-b7596e645dacf769aeec627123d5cda2def01c4e.zip |
Fixed style issues and potential bugs.
Diffstat (limited to 'libraries/vendors/compile-osvvm.sh')
-rwxr-xr-x | libraries/vendors/compile-osvvm.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/vendors/compile-osvvm.sh b/libraries/vendors/compile-osvvm.sh index adac92ae5..dbdf7c70b 100755 --- a/libraries/vendors/compile-osvvm.sh +++ b/libraries/vendors/compile-osvvm.sh @@ -244,7 +244,7 @@ Files=( OsvvmContext.vhd ) CreateLibraryStruct $StructName "osvvm" "." $VHDLVersion "${Files[@]}" -test $COMPILE_OSVVM -eq 1 && Libraries+=($StructName) +test $COMPILE_OSVVM -eq 1 && Libraries+=("$StructName") # for VIPName in ${VIPNames[*]}; do # VarName="COMPILE_OSVVM_${VIPName}" @@ -254,7 +254,7 @@ test $COMPILE_OSVVM -eq 1 && Libraries+=($StructName) # done # Compile libraries -if [[ "$Libraries" != "" ]]; then +if [[ ${#Libraries[@]} -ne 0 ]]; then Compile "$SourceDirectory" "${Libraries[*]}" echo "--------------------------------------------------------------------------------" |