projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: address shellcheck warnings/errors in example scripts
[lttng-ust.git]
/
doc
/
examples
/
demo
/
demo-trace
diff --git
a/doc/examples/demo/demo-trace
b/doc/examples/demo/demo-trace
index dd677277b7a4c6a248b3d94671bf834e963490c4..000139b8a4ec0d48a05ed9051a69d4929751b99e 100755
(executable)
--- a/
doc/examples/demo/demo-trace
+++ b/
doc/examples/demo/demo-trace
@@
-1,6
+1,6
@@
#!/bin/sh
#!/bin/sh
-DIR=$(dirname
$0
)
-DIR=$(readlink -f
$DIR
)
+DIR=$(dirname
"$0"
)
+DIR=$(readlink -f
"$DIR"
)
-LD_PRELOAD=
$DIR/lttng-ust-provider-ust-tests-demo.so:$DIR/lttng-ust-provider-ust-tests-demo3.so $DIR/demo ${*}
+LD_PRELOAD=
"$DIR/lttng-ust-provider-ust-tests-demo.so:$DIR/lttng-ust-provider-ust-tests-demo3.so" "$DIR/demo" "${@}"
This page took
0.023977 seconds
and
4
git commands to generate.