]> git.proxmox.com Git - ovs.git/commitdiff
atlocal: Fix findcommand function style.
authorJoe Stringer <joe@ovn.org>
Thu, 22 Dec 2016 18:44:53 +0000 (10:44 -0800)
committerJoe Stringer <joe@ovn.org>
Tue, 3 Jan 2017 17:31:52 +0000 (09:31 -0800)
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
tests/atlocal.in

index 1353b46fd1ef3e1e5e43d9d30ef0ee46f7ac94b6..5b151c3d84c3eeb6058a345ea4de010ec83aa078 100644 (file)
@@ -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