Skip to content

Commit

Permalink
build: fix if-redirection to make check_used_options run for the agen…
Browse files Browse the repository at this point in the history
…ts as intended
  • Loading branch information
oalbrigt committed Nov 28, 2018
1 parent 1f965f4 commit 267afc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/fencebuild.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define gen_agent_from_py
-e 's#@''PING4_CMD@#${PING4_CMD}#g' \
> $@

if [ 0 -eq `echo "$(@)" | grep fence_ 2>&1 /dev/null; echo $$?` ]; then \
if [ 0 -eq `echo "$(@)" | grep fence_ > /dev/null 2>&1; echo $$?` ]; then \
PYTHONPATH=$(abs_top_srcdir)/lib:$(abs_top_builddir)/lib $(PYTHON) $(top_srcdir)/lib/check_used_options.py $@; \
else true ; fi

Expand Down

0 comments on commit 267afc5

Please sign in to comment.