mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
tests: fix pycodestyle lookup
Pycodestyle is available as /usr/bin/pycodestyle-3 on Fedora.
This commit is contained in:
parent
b72d6d7dbb
commit
6498d24f36
@ -73,7 +73,7 @@ cmd_exists() {
|
||||
|
||||
find_command() {
|
||||
for name in $@; do
|
||||
for suff in "3" "-python3" ""; do
|
||||
for suff in "3" "-3" "-python3" ""; do
|
||||
cmd=${name}${suff}
|
||||
if cmd_exists $cmd; then
|
||||
echo $cmd
|
||||
|
Loading…
Reference in New Issue
Block a user