pull upstream changes from gitstatus

pull/85/head
romkatv 6 years ago
parent 02b86416ec
commit 66b331c251

@ -275,7 +275,8 @@ function gitstatus_start() {
setopt xtrace setopt xtrace
} }
local os && { [[ $(uname -o) == Android ]] && os=Android || os=$(uname -s) } && [[ -n $os ]] local os && os=$(uname -s) && [[ -n $os ]]
[[ $os != Linux || $(uname -o) != Android ]] || os=Android
local arch && arch=$(uname -m) && [[ -n $arch ]] local arch && arch=$(uname -m) && [[ -n $arch ]]
local daemon=${GITSTATUS_DAEMON:-$dir/bin/gitstatusd-${os:l}-${arch:l}} local daemon=${GITSTATUS_DAEMON:-$dir/bin/gitstatusd-${os:l}-${arch:l}}

Loading…
Cancel
Save