pull upstream changes from gitstatus

pull/644/head
romkatv 5 years ago
parent 8573855d39
commit 9dadc822e3

@ -1 +0,0 @@
gitstatusd-cygwin_nt-10.0-x86_64

@ -0,0 +1,3 @@
#!/bin/sh
exec "${0%-6.1-x86_64}-10.0-x86_64" "$@"

@ -1 +0,0 @@
gitstatusd-cygwin_nt-10.0-x86_64

@ -0,0 +1,3 @@
#!/bin/sh
exec "${0%-6.3-x86_64}-10.0-x86_64" "$@"

@ -1 +0,0 @@
gitstatusd-freebsd-amd64

@ -1 +0,0 @@
gitstatusd-linux-armv7l

@ -0,0 +1,3 @@
#!/bin/sh
exec "${0%-armv6l}-armv7l" "$@"

@ -0,0 +1,3 @@
#!/bin/sh
exec "${0%-i586}-i386" "$@"

@ -0,0 +1,3 @@
#!/bin/sh
exec "${0%-i686}-i386" "$@"

@ -503,15 +503,16 @@ function gitstatus_start() {
elif [[ -n $GITSTATUS_DAEMON ]]; then
local daemons=($_gitstatus_plugin_dir/{usrbin,bin}/$GITSTATUS_DAEMON)
else
local -aU os
local -aU os=($kernel)
case $kernel in
linux)
os=("${(L)$(uname -o 2>/dev/null)}") || os=()
[[ $os[1] == android ]] || os=(linux)
local os_flavor
os_flavor="${(L)$(uname -o 2>/dev/null)}" && os+=(${(M)os_flavor:#android})
;;
cygwin_nt-*) os=($kernel cygwin_nt-10.0);;
mingw*|msys*) os=($kernel msys_nt-10.0);;
*) os=($kernel);;
cygwin_nt-*) os+=(cygwin_nt-10.0);;
msys_nt-*) os+=(msys_nt-10.0);;
mingw32_nt-*) os+=(msys_nt-10.0);;
mingw64_nt-*) os+=(msys_nt-10.0);;
esac
local arch
arch="${(L)$(uname -m)}" || return

Loading…
Cancel
Save