Skip to content

Commit

Permalink
configure: fix agent filtering
Browse files Browse the repository at this point in the history
If some autodetect agent is last in the list it will not be filtered
(no trailing space) and the build will fail.
  • Loading branch information
vvidic committed Feb 16, 2020
1 parent e1e9013 commit d5acec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ if test "x$AGENTS_LIST" != xall; then
fi

if test "x$AGENTS_LIST" = xall; then
AGENTS_LIST=`find $srcdir/agents -mindepth 2 -maxdepth 2 -name 'fence_*.py' -print0 | xargs -0 | sed -e 's#[^ ]*/agents/##g' -e 's#lib/[A-Za-z_.]* ##g' -e 's#nss_wrapper/[A-Za-z_.]* ##g' -e 's#autodetect/[A-Za-z_.]* ##g'`
AGENTS_LIST=`find $srcdir/agents -mindepth 2 -maxdepth 2 -name 'fence_*.py' -print0 | xargs -0 | sed -E -e 's#[^ ]*/agents/##g' -e 's#lib/[A-Za-z_.]*( |$)##g' -e 's#nss_wrapper/[A-Za-z_.]*( |$)##g' -e 's#autodetect/[A-Za-z_.]*( |$)##g'`
fi

XENAPILIB=0
Expand Down

0 comments on commit d5acec6

Please sign in to comment.