From d26594000842ce2985323339ed9a4a666c3fd130 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Fri, 3 Aug 2012 12:45:34 -0400 Subject: [PATCH] Make sure the libcvautomation_funcs handles spaces correctly --- libcvautomation_funcs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libcvautomation_funcs b/libcvautomation_funcs index f344a3d..0be7b6e 100644 --- a/libcvautomation_funcs +++ b/libcvautomation_funcs @@ -567,12 +567,9 @@ key_str () return 255 fi - for x in $@ - do - COMMAND_LINE+="-s 'keystring $x' " - done + COMMAND_LINE="-s 'keystring $*' " - out "key_str: \"$@\"" + out "key_str: \"$*\"" eval $CVAINPUT $COMMAND_LINE >> $OUTFILE return $?