From 3acd28bf6090eb834e5a275748a79ece714756f1 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Mon, 31 Oct 2016 22:15:54 +0900 Subject: [PATCH] Fix syntax error when /bin/sh is dash dash says `/bin/sh: 1: Syntax error: Bad fd number` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2fb610e..8966a17 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ VERSION=$(patsubst "%",%,$(lastword $(shell grep 'const version' peco.go))) RELEASE_DIR=releases ARTIFACTS_DIR=$(RELEASE_DIR)/artifacts/$(VERSION) SRC_FILES = $(wildcard *.go cmd/peco/*.go internal/*/*.go) -HAVE_GLIDE:=$(shell which glide >& /dev/null) +HAVE_GLIDE:=$(shell which glide >/dev/null 2>&1) GITHUB_USERNAME=peco .PHONY: clean build build-windows-amd64 build-windows-386 build-linux-amd64 $(RELEASE_DIR)/$(GOOS)/$(GOARCH)/peco$(SUFFIX)