variables:
PYTHON_INIT_FILE: ''
PYTHON_TEST_PATHS: 'bin lib setup.py'
+ SHELLSCRIPTS: ''
UPDATE_ALL_PIP_MODULES: 'n'
Linter:
echo "All YAML files ok."
fi
- |
- declare -a SHELLSCRIPTS=()
- for script in $( find * -type f -iname '*.sh' | grep -v 'bin-build/' ) ; do
- SHELLSCRIPTS+=( "${script}" )
- done
- if [[ "${#SHELLSCRIPTS[*]}" -gt '0' ]]; do
+ if [[ -n "${SHELLSCRIPTS}" ]] ; then
echo
- echo "Executing shell check to ${SHELLSCRIPTS[*]} ..."
- shellcheck --external-sources --color=always "${SHELLSCRIPTS[@]}"
+ echo "Executing shell check to ${SHELLSCRIPTS} ..."
+ shellcheck --external-sources --color=always ${SHELLSCRIPTS}
fi