1
0
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:
Hans-Christoph Steiner 2016-03-14 11:33:07 +01:00
parent 7039d16046
commit aa0ea46465

View File

@ -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