diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-03-29 19:48:19 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-03-29 19:48:19 +0300 |
commit | 9dadc822e354e98b75e51c836ff464cbc8d4676a (patch) | |
tree | 8edf5ed3d3d74561bf53b74a603e6822377eab5e /gitstatus | |
parent | 8573855d3966bb878eb853d3747b4384e19f7889 (diff) |
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus')
17 files changed, 22 insertions, 10 deletions
diff --git a/gitstatus/bin/gitstatusd-android-aarch64 b/gitstatus/bin/gitstatusd-android-aarch64 Binary files differindex 24ff2854..9d76b206 100755 --- a/gitstatus/bin/gitstatusd-android-aarch64 +++ b/gitstatus/bin/gitstatusd-android-aarch64 diff --git a/gitstatus/bin/gitstatusd-cygwin_nt-10.0-i686 b/gitstatus/bin/gitstatusd-cygwin_nt-10.0-i686 Binary files differnew file mode 100755 index 00000000..e8167cfd --- /dev/null +++ b/gitstatus/bin/gitstatusd-cygwin_nt-10.0-i686 diff --git a/gitstatus/bin/gitstatusd-cygwin_nt-10.0-x86_64 b/gitstatus/bin/gitstatusd-cygwin_nt-10.0-x86_64 Binary files differindex 81ad0c61..15d4adba 100755 --- a/gitstatus/bin/gitstatusd-cygwin_nt-10.0-x86_64 +++ b/gitstatus/bin/gitstatusd-cygwin_nt-10.0-x86_64 diff --git a/gitstatus/bin/gitstatusd-cygwin_nt-6.1-x86_64 b/gitstatus/bin/gitstatusd-cygwin_nt-6.1-x86_64 index c0d9fb61..c031d54a 120000..100755 --- a/gitstatus/bin/gitstatusd-cygwin_nt-6.1-x86_64 +++ b/gitstatus/bin/gitstatusd-cygwin_nt-6.1-x86_64 @@ -1 +1,3 @@ -gitstatusd-cygwin_nt-10.0-x86_64
\ No newline at end of file +#!/bin/sh + +exec "${0%-6.1-x86_64}-10.0-x86_64" "$@" diff --git a/gitstatus/bin/gitstatusd-cygwin_nt-6.3-x86_64 b/gitstatus/bin/gitstatusd-cygwin_nt-6.3-x86_64 index c0d9fb61..a2388978 120000..100755 --- a/gitstatus/bin/gitstatusd-cygwin_nt-6.3-x86_64 +++ b/gitstatus/bin/gitstatusd-cygwin_nt-6.3-x86_64 @@ -1 +1,3 @@ -gitstatusd-cygwin_nt-10.0-x86_64
\ No newline at end of file +#!/bin/sh + +exec "${0%-6.3-x86_64}-10.0-x86_64" "$@" diff --git a/gitstatus/bin/gitstatusd-freebsd-amd64 b/gitstatus/bin/gitstatusd-freebsd-amd64 Binary files differindex b08e2df9..a0fc5ccb 100755 --- a/gitstatus/bin/gitstatusd-freebsd-amd64 +++ b/gitstatus/bin/gitstatusd-freebsd-amd64 diff --git a/gitstatus/bin/gitstatusd-freebsd-x86_64 b/gitstatus/bin/gitstatusd-freebsd-x86_64 deleted file mode 120000 index ce481223..00000000 --- a/gitstatus/bin/gitstatusd-freebsd-x86_64 +++ /dev/null @@ -1 +0,0 @@ -gitstatusd-freebsd-amd64
\ No newline at end of file diff --git a/gitstatus/bin/gitstatusd-linux-aarch64 b/gitstatus/bin/gitstatusd-linux-aarch64 Binary files differindex 417cf52a..69171444 100755 --- a/gitstatus/bin/gitstatusd-linux-aarch64 +++ b/gitstatus/bin/gitstatusd-linux-aarch64 diff --git a/gitstatus/bin/gitstatusd-linux-armv6l b/gitstatus/bin/gitstatusd-linux-armv6l index 1990676d..b8afa5ef 120000..100755 --- a/gitstatus/bin/gitstatusd-linux-armv6l +++ b/gitstatus/bin/gitstatusd-linux-armv6l @@ -1 +1,3 @@ -gitstatusd-linux-armv7l
\ No newline at end of file +#!/bin/sh + +exec "${0%-armv6l}-armv7l" "$@" diff --git a/gitstatus/bin/gitstatusd-linux-armv7l b/gitstatus/bin/gitstatusd-linux-armv7l Binary files differindex 18800d0d..78f0eb19 100755 --- a/gitstatus/bin/gitstatusd-linux-armv7l +++ b/gitstatus/bin/gitstatusd-linux-armv7l diff --git a/gitstatus/bin/gitstatusd-linux-i386 b/gitstatus/bin/gitstatusd-linux-i386 Binary files differnew file mode 100755 index 00000000..f004b548 --- /dev/null +++ b/gitstatus/bin/gitstatusd-linux-i386 diff --git a/gitstatus/bin/gitstatusd-linux-i586 b/gitstatus/bin/gitstatusd-linux-i586 new file mode 100755 index 00000000..424e49b8 --- /dev/null +++ b/gitstatus/bin/gitstatusd-linux-i586 @@ -0,0 +1,3 @@ +#!/bin/sh + +exec "${0%-i586}-i386" "$@" diff --git a/gitstatus/bin/gitstatusd-linux-i686 b/gitstatus/bin/gitstatusd-linux-i686 new file mode 100755 index 00000000..ef084218 --- /dev/null +++ b/gitstatus/bin/gitstatusd-linux-i686 @@ -0,0 +1,3 @@ +#!/bin/sh + +exec "${0%-i686}-i386" "$@" diff --git a/gitstatus/bin/gitstatusd-linux-x86_64-static b/gitstatus/bin/gitstatusd-linux-x86_64-static Binary files differindex 96486656..6ca5097f 100755 --- a/gitstatus/bin/gitstatusd-linux-x86_64-static +++ b/gitstatus/bin/gitstatusd-linux-x86_64-static diff --git a/gitstatus/bin/gitstatusd-msys_nt-10.0-i686 b/gitstatus/bin/gitstatusd-msys_nt-10.0-i686 Binary files differnew file mode 100755 index 00000000..f2cf7942 --- /dev/null +++ b/gitstatus/bin/gitstatusd-msys_nt-10.0-i686 diff --git a/gitstatus/bin/gitstatusd-msys_nt-10.0-x86_64 b/gitstatus/bin/gitstatusd-msys_nt-10.0-x86_64 Binary files differindex 0241c83c..e58ec409 100755 --- a/gitstatus/bin/gitstatusd-msys_nt-10.0-x86_64 +++ b/gitstatus/bin/gitstatusd-msys_nt-10.0-x86_64 diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index 7a0034f8..12d1f167 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -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 |