Commit aea74f57 authored by Brice Videau's avatar Brice Videau
Browse files

Removed bashisms.

parent 2954e3fc
......@@ -122,7 +122,7 @@ trace_epilogue() {
summary() {
if [ -z "$@" ]; then
if [ "$#" -eq 0 ]; then
<% if languages.include?("opencl") and languages.include?("ze")%>
lttng_last_session=$(ls -dt ${LTTNG_HOME:-$HOME}/lttng-traces/* | head -1)
<% elsif languages.include?("opencl") %>
......@@ -176,7 +176,7 @@ summary() {
# | (_| | _> | | | (_| /--\ | (_| \/
# _| _|
display="compact";
if [[ $# -eq 0 ]]; then
if [ "$#" -eq 0 ]; then
display_help
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment