From: Jason Wessel Date: Tue, 22 Feb 2011 22:36:03 +0000 (-0500) Subject: usttrace: Use /bin/sh instead of /bin/bash for busybox compatibility X-Git-Tag: v1.9.1~451 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;ds=inline;h=ec0647137dec0214d6a914b13fb053fe3ac2eb4e;hp=ec0647137dec0214d6a914b13fb053fe3ac2eb4e;p=lttng-ust.git usttrace: Use /bin/sh instead of /bin/bash for busybox compatibility The busybox posix like shell does not understand the "function" directive nor does it understand the syntax for redirecting a file via a shell expanded variable with $(<$pidfilepath). Busybox also does not typically provide a link to /bin/bash since busybox does not provide bash. It is possible to work around all these limitations in order to allow user space tracing to work properly in a busybox based environment with several syntax changes to the usttrace script. Signed-off-by: Jason Wessel Signed-off-by: Mathieu Desnoyers ---