diff options
author | Geoff Gustafson <geoff@linux.intel.com> | 2017-03-30 11:12:24 -0700 |
---|---|---|
committer | Jimmy Huang <jimmy.huang@linux.intel.com> | 2017-03-30 11:12:24 -0700 |
commit | 8400816b6064b3fdf6767a8730dcc46e081e4402 (patch) | |
tree | 8d3601cf1085e69964784c1003a7fa0f82a80a1f | |
parent | 0e1d353deedc17730d4e587dd51287b9f3fc358a (diff) |
[analyze] Fix OCF client or server being allowed but not both (#946)
Signed-off-by: Geoff Gustafson <geoff@linux.intel.com>
-rwxr-xr-x | scripts/analyze.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/analyze.sh b/scripts/analyze.sh index fda4155..1a97282 100755 --- a/scripts/analyze.sh +++ b/scripts/analyze.sh @@ -130,7 +130,8 @@ if check_for_require ocf || check_config_file ZJS_OCF; then if grep -q "$OCF_OBJ.client" $SCRIPT; then >&2 echo Using module: OCF client MODULES+=" -DOC_CLIENT" - elif grep -q "$OCF_OBJ.server" $SCRIPT; then + fi + if grep -q "$OCF_OBJ.server" $SCRIPT; then >&2 echo Using module: OCF server MODULES+=" -DOC_SERVER" fi |