mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
not all UNIX echo
commands support -n
FreeBSD and OSX's does not, for example, and the shell should just treat the '\n' as white space in the command line.
This commit is contained in:
parent
7039d16046
commit
aa0ea46465
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ find_command() {
|
||||||
for suff in "3" "-python3" ""; do
|
for suff in "3" "-python3" ""; do
|
||||||
cmd=${1}${suff}
|
cmd=${1}${suff}
|
||||||
if cmd_exists $cmd; then
|
if cmd_exists $cmd; then
|
||||||
echo -n $cmd
|
echo $cmd
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue