Message ID | 20161222184453.22821-1-joe@ovn.org |
---|---|
State | Accepted |
Headers | show |
On Thu, Dec 22, 2016 at 10:44:53AM -0800, Joe Stringer wrote: > Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
On 22 December 2016 at 15:39, Ben Pfaff <blp@ovn.org> wrote: > On Thu, Dec 22, 2016 at 10:44:53AM -0800, Joe Stringer wrote: >> Signed-off-by: Joe Stringer <joe@ovn.org> > > Acked-by: Ben Pfaff <blp@ovn.org> Thanks, applied to master.
diff --git a/tests/atlocal.in b/tests/atlocal.in index 1353b46fd1ef..5b151c3d84c3 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -126,7 +126,7 @@ fi # Look for a commnand in the system. If it is found, defines # HAVE_COMMAND="yes", otherwise HAVE_COMMAND="no". -FindCommand() +find_command() { which $1 > /dev/null 2>&1 status=$? @@ -139,7 +139,7 @@ FindCommand() } # Set HAVE_NC -FindCommand nc +find_command nc # Determine correct netcat option to quit on stdin EOF if nc --version 2>&1 | grep -q nmap.org; then
Signed-off-by: Joe Stringer <joe@ovn.org> --- tests/atlocal.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)