From 987799f8fbd2367fe99383a1ddf9ddf5d4ed253f Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 19 Sep 2015 22:27:09 +0900 Subject: [PATCH] Revert "0.10.6" This reverts commit d2f3604c1dd176b485ab82cebc956560f2e73657. --- CHANGELOG.md | 5 +---- install | 11 ++++++++--- man/man1/fzf.1 | 2 +- src/constants.go | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0018b9f..f10cbca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,7 @@ CHANGELOG - Changed exit status - 0: Okay - 1: No match - - 2: Error - - 130: Interrupted -- 64-bit linux binary is statically-linked with ncurses to avoid - compatibility issues. + - 2: Error/Interrupted 0.10.5 ------ diff --git a/install b/install index 51b56ec..9b9b04d 100755 --- a/install +++ b/install @@ -1,7 +1,7 @@ #!/usr/bin/env bash -[[ "$@" =~ --pre ]] && version=0.10.6 pre=1 || - version=0.10.6 pre=0 +[[ "$@" =~ --pre ]] && version=0.10.5 pre=1 || + version=0.10.5 pre=0 cd $(dirname $BASH_SOURCE) fzf_base=$(pwd) @@ -80,7 +80,12 @@ download() { return fi - chmod +x $1 && symlink $1 && check_binary + chmod +x $1 && symlink $1 || return 1 + if [[ $1 =~ linux_amd64$ ]]; then + check_binary || download $1-static + else + check_binary + fi } # Try to download binary executable diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 99d40ff..4147371 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf 1 "Sep 2015" "fzf 0.10.6" "fzf - a command-line fuzzy finder" +.TH fzf 1 "Sep 2015" "fzf 0.10.5" "fzf - a command-line fuzzy finder" .SH NAME fzf - a command-line fuzzy finder diff --git a/src/constants.go b/src/constants.go index 7deb078..1cc4f81 100644 --- a/src/constants.go +++ b/src/constants.go @@ -8,7 +8,7 @@ import ( const ( // Current version - version = "0.10.6" + version = "0.10.5" // Core coordinatorDelayMax time.Duration = 100 * time.Millisecond