projects
/
lttng-ci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
302246e
)
jjb: Print shellcheck version if the tool is available
author
Kienan Stewart
<kstewart@efficios.com>
Fri, 4 Oct 2024 12:18:40 +0000
(08:18 -0400)
committer
Kienan Stewart
<kstewart@efficios.com>
Fri, 4 Oct 2024 12:18:40 +0000
(08:18 -0400)
Change-Id: I356fbc23c3ad0023987c2b45f6c969624929e957
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
scripts/common/print.sh
patch
|
blob
|
blame
|
history
diff --git
a/scripts/common/print.sh
b/scripts/common/print.sh
index 89c904335b6221dc821f782809a07677d52382dd..b45b2b9560c2ef3e8696e990a43ba49508809d0c 100755
(executable)
--- a/
scripts/common/print.sh
+++ b/
scripts/common/print.sh
@@
-176,5
+176,10
@@
print_tooling() {
print_pkgconfig_mod zlib
fi
+ if command -v shellcheck >/dev/null 2>&1; then
+ print_blue "shellcheck version"
+ shellcheck --version | grep '^version'
+ fi
+
set -ex
}
This page took
0.024535 seconds
and
4
git commands to generate.