diff --git a/communication_techniques/parsing.sh b/communication_techniques/parsing.sh index df83b2c..5e6d5e2 100755 --- a/communication_techniques/parsing.sh +++ b/communication_techniques/parsing.sh @@ -13,11 +13,11 @@ init_bench_vars () then for com in $comList do - if echo $ourBenchs | grep "$com" > /dev/null 2>&1 + if echo $com | grep "$ourBenchs" > /dev/null 2>&1 then barriereList="${barriereList:-}${barriereList:+ }$com" fi - if echo $onlyWBBenchs | grep "$com" > /dev/null 2>&1 + if echo $com | grep "$onlyWBBenchs" > /dev/null 2>&1 then barriereList="${barriereList:-}${barriereList:+ }$com" fi