Fix: address shellcheck warnings/errors in example scripts
[lttng-ust.git] / doc / examples / clock-override / run-clock-override
index 295b48391878005566292ef34a49ad446586e062..3c7f82be7df2eaa33dfb9848c2bbfc74ed24f868 100755 (executable)
@@ -2,7 +2,7 @@
 
 # launch with: run-clock-override progname args
 
-DIR=$(dirname $0)
-DIR=$(readlink -f $DIR)
+DIR=$(dirname "$0")
+DIR=$(readlink -f "$DIR")
 
-LTTNG_UST_CLOCK_PLUGIN="$DIR/lttng-ust-clock-override-example.so" ${*}
+LTTNG_UST_CLOCK_PLUGIN="$DIR/lttng-ust-clock-override-example.so" "${@}"
This page took 0.02288 seconds and 4 git commands to generate.