]> git.proxmox.com Git - ovs.git/commit
ovs-docker: Use a different mechanism to check for commands.
authorGurucharan Shetty <gshetty@nicira.com>
Mon, 23 Feb 2015 05:52:04 +0000 (21:52 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Mon, 23 Feb 2015 17:18:00 +0000 (09:18 -0800)
commita8353802a4d5b436ead2de728e549929cfdda232
tree3040e463fb60a58e2f16453dad90cedbb31c5514
parent4b814d41b816dc868590646d594ce701d3e13211
ovs-docker: Use a different mechanism to check for commands.

Currently, the script uses '--version' option from different commands
to check for their availability. uuidgen on Centos6 has been reported
not to have the '--version' option causing failure in script invocation.

This commit looks for the utilities in $PATH instead. The code is
copied from build-aux/dist-docs.

Reported-by: Michael J. Smalley <michaeljsmalley@gmail.com>
Suggested-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
AUTHORS
utilities/ovs-docker