From: Stefan Hajnoczi Date: Wed, 16 Nov 2011 12:17:21 +0000 (-0500) Subject: usttrace: allow spaces in command-line arguments X-Git-Tag: v0.16~2 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=f3c6d9046c03c71b2028c88a9444519299b7b4c2;hp=f3c6d9046c03c71b2028c88a9444519299b7b4c2;p=ust.git usttrace: allow spaces in command-line arguments The usttrace uses $*, which expands arguments without preserving their boundaries. This causes arguments that include spaces to be mangled: [0] "echo" [1] "hello world" becomes: [0] "echo" [1] "hello" [2] "world" Use "$@" instead so that argument boundaries are preserved. Signed-off-by: Stefan Hajnoczi Signed-off-by: Mathieu Desnoyers ---