From b4d4d9abb322ed0807d2ba0888e73820499aa338 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral <38422348+umarcor@users.noreply.github.com> Date: Sat, 26 Jun 2021 19:40:25 +0100 Subject: Codacy issues, Travis cleanup and update ghdl.texi (#1807) * ghw: fix memleaks reported by codacy * ghw: printf issues and style (GNU indent) * testsuite/gna: minor printf issues * testsuite: fix issues reported by codacy * scripts/ci-run: clean travis stuff (deprecated) * scripts: fix issues reported by codacy * doc/Makefile: add .PHONY * doc: update ghdl.texi * testsuite/synth: use synth_tb --- scripts/vendors/compile-altera.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/vendors/compile-altera.sh') diff --git a/scripts/vendors/compile-altera.sh b/scripts/vendors/compile-altera.sh index 06269071e..17dfe42c7 100755 --- a/scripts/vendors/compile-altera.sh +++ b/scripts/vendors/compile-altera.sh @@ -217,7 +217,7 @@ fi # Search Altera Quartus in default installation locations DefaultDirectories=("/opt/Altera" "/opt/altera" "/c/Altera") -if [ ! -z $QUARTUS_ROOTDIR ]; then +if [ -n "$QUARTUS_ROOTDIR" ]; then EnvSourceDir="$QUARTUS_ROOTDIR/${Altera_Quartus_Settings[SourceDirectory]}" else for DefaultDir in "${DefaultDirectories[@]}"; do -- cgit v1.2.3