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:44 +0000 (11:38 -0400)
commitea14009fcc325f8f2d5348efc2d7ea9d8d04c4e3
tree6f799db2676c44ed1037a4c7dc64eb9e3ff0dc66
parent9a6800e3a7bed25af7a62d7e8cb2ad9a689e5877
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.027084 seconds and 4 git commands to generate.