mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
tests: fix pycodestyle lookup
Pycodestyle is available as /usr/bin/pycodestyle-3 on Fedora.
This commit is contained in:
parent
b72d6d7dbb
commit
6498d24f36
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ cmd_exists() {
|
||||||
|
|
||||||
find_command() {
|
find_command() {
|
||||||
for name in $@; do
|
for name in $@; do
|
||||||
for suff in "3" "-python3" ""; do
|
for suff in "3" "-3" "-python3" ""; do
|
||||||
cmd=${name}${suff}
|
cmd=${name}${suff}
|
||||||
if cmd_exists $cmd; then
|
if cmd_exists $cmd; then
|
||||||
echo $cmd
|
echo $cmd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue