mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02: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
@ -75,7 +75,7 @@ find_command() {
|
||||
for suff in "3" "-python3" ""; do
|
||||
cmd=${1}${suff}
|
||||
if cmd_exists $cmd; then
|
||||
echo -n $cmd
|
||||
echo $cmd
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user