Remove bashism in lttng-syscalls-generate-headers.sh
authorJon Bernard <jbernard@tuxion.com>
Mon, 13 May 2013 15:38:17 +0000 (11:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 May 2013 15:38:17 +0000 (11:38 -0400)
commitdb55ef8073facd9622cbc6ac1be52abeca269126
tree5a03b390d4ffb909d6a161515e6cf3e85181e938
parentc974cc6e86378a838440feceac5c5e743dcaa1c6
Remove bashism in lttng-syscalls-generate-headers.sh

Options to echo are not portable. In particular, the 'echo -e' option is
implemented by some shells, including bash, to expand escape sequences.
However, dash is one of the other family of shells that instead expands
escape sequences by default.

The printf command is portable and much more reliable.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/syscalls/lttng-syscalls-generate-headers.sh
This page took 0.025187 seconds and 4 git commands to generate.