summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoe Stringer <joe@ovn.org>2016-12-22 10:44:53 -0800
committerJoe Stringer <joe@ovn.org>2017-01-03 09:31:52 -0800
commitddd187f27e00a0af7083546d7cdcf30bee72f1a1 (patch)
treeb244c20b42f61427240f3b8f380560502304d5f4 /tests
parentb389a124e619e4820225b682eddac05803509752 (diff)
downloadopenvswitch-ddd187f27e00a0af7083546d7cdcf30bee72f1a1.tar.gz
atlocal: Fix findcommand function style.
Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/atlocal.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 1353b46fd..5b151c3d8 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