mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
gitlab-ci: move shellcheck to own job fenced by changes:
This commit is contained in:
parent
aa9cc14991
commit
3b9d39ac61
3 changed files with 27 additions and 8 deletions
|
|
@ -36,7 +36,7 @@ else
|
|||
*.rb)
|
||||
RB_FILES+=" $f"
|
||||
;;
|
||||
*.yml|.*.yml|.yamllint)
|
||||
*.yml|*.yaml|.yamllint)
|
||||
YML_FILES+=" $f"
|
||||
;;
|
||||
*)
|
||||
|
|
@ -66,7 +66,7 @@ cmd_exists() {
|
|||
}
|
||||
|
||||
find_command() {
|
||||
for name in $@; do
|
||||
for name in "$@"; do
|
||||
for suff in "3" "-3" "-python3" ""; do
|
||||
cmd=${name}${suff}
|
||||
if cmd_exists $cmd; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue