From acd6c6c470c775865e8f3ef4b6c8f2dca7104e3a Mon Sep 17 00:00:00 2001
From: Daniel van der Schuur <schuur@astron.nl>
Date: Wed, 4 May 2016 10:29:22 +0000
Subject: [PATCH] -Fixed comparison.

---
 tools/quartus/run_regtest_synth | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/quartus/run_regtest_synth b/tools/quartus/run_regtest_synth
index b0bfbf3096..d69e5be718 100755
--- a/tools/quartus/run_regtest_synth
+++ b/tools/quartus/run_regtest_synth
@@ -99,7 +99,7 @@ NOF_RBF_REQ=1
 FOUND_RBF=$(find ${RADIOHDL}/build/ -name *.rbf | grep "\-r")
 NOF_RBF=$(echo ${FOUND_RBF} | grep -c "rbf")
 RESULT=FAILED
-if (( NOF_RBF = NOF_RBF_REQ )); then
+if (( NOF_RBF == NOF_RBF_REQ )); then
   RESULT=PASSED
 fi
 
-- 
GitLab