Skip to content

Commit

Permalink
Merge pull request ClusterLabs#251 from oalbrigt/build-fix-check_used…
Browse files Browse the repository at this point in the history
…_options

build: fix if-redirection to make check_used_options run for the agents as intended
  • Loading branch information
oalbrigt authored Nov 28, 2018
2 parents 1f965f4 + 267afc5 commit 1e668e4
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 1e668e4

Please sign in to comment.