mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-08 17:24:05 +00:00
Replace bash to sh in Makefile (#4138)
Some operating systems do not ship with bash by default, e.g. BSDs, which breaks the build.
This commit is contained in:
parent
c2e1861747
commit
15ca9ad8eb
3
Makefile
3
Makefile
@ -1,4 +1,3 @@
|
||||
SHELL := bash
|
||||
GO ?= go
|
||||
GOOS ?= $(shell $(GO) env GOOS)
|
||||
|
||||
@ -14,7 +13,7 @@ endif
|
||||
ifeq ($(VERSION),)
|
||||
$(error Not on git repository; cannot determine $$FZF_VERSION)
|
||||
endif
|
||||
VERSION_TRIM := $(shell sed "s/^v//; s/-.*//" <<< $(VERSION))
|
||||
VERSION_TRIM := $(shell echo $(VERSION) | sed "s/^v//; s/-.*//")
|
||||
VERSION_REGEX := $(subst .,\.,$(VERSION_TRIM))
|
||||
|
||||
ifdef FZF_REVISION
|
||||
|
Loading…
Reference in New Issue
Block a user