Install shellcheck if needed
This commit is contained in:
parent
1de2c88d04
commit
087115fa23
|
@ -66,6 +66,10 @@ function test_app_function_type {
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_static_analysis {
|
function test_static_analysis {
|
||||||
|
if [ ! -f /usr/bin/shellcheck ]; then
|
||||||
|
apt-get -yq install shellcheck
|
||||||
|
fi
|
||||||
|
|
||||||
FILES="/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-*"
|
FILES="/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-*"
|
||||||
|
|
||||||
for filename in $FILES
|
for filename in $FILES
|
||||||
|
|
Loading…
Reference in New Issue