Message ID | 1483582391-114359-6-git-send-email-jpettit@ovn.org |
---|---|
State | Accepted |
Headers | show |
On Wed, Jan 04, 2017 at 06:13:08PM -0800, Justin Pettit wrote: > Quote "$@" so that arguments aren't split when being called. > > Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index 92ab9ab..5477777 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -106,7 +106,7 @@ sim_add () { # there. as() { if test "X$2" != X; then - (ovs_setenv $1; shift; $@) + (ovs_setenv $1; shift; "$@") else ovs_setenv $1 fi
Quote "$@" so that arguments aren't split when being called. Signed-off-by: Justin Pettit <jpettit@ovn.org> --- tests/ofproto-macros.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)