mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-24 09:51:22 -04: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user