diff mbox

[ovs-dev] atlocal: Fix findcommand function style.

Message ID 20161222184453.22821-1-joe@ovn.org
State Accepted
Headers show

Commit Message

Joe Stringer Dec. 22, 2016, 6:44 p.m. UTC
Signed-off-by: Joe Stringer <joe@ovn.org>
---
 tests/atlocal.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ben Pfaff Dec. 22, 2016, 11:39 p.m. UTC | #1
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>
Joe Stringer Jan. 3, 2017, 5:34 p.m. UTC | #2
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 mbox

Patch

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