Skip to content
Myr

Replace bash to sh in Makefile (#4138)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Some operating systems do not ship with bash by default, e.g. BSDs, which breaks the build.

authored by Minseo Kim · committed by GitHub · parent c2e1861 · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:Makefile+1 added-2 removed
1SHELL := bash1GO ?= go2GOOS ?= $(shell $(GO) env GOOS)34MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
7 unmodified lines
12endif13ifeq ($(VERSION),)14$(error Not on git repository; cannot determine $$FZF_VERSION)15endif17VERSION_TRIM := $(shell sed "s/^v//; s/-.*//" <<< $(VERSION))16VERSION_TRIM := $(shell echo $(VERSION) | sed "s/^v//; s/-.*//")17VERSION_REGEX := $(subst .,\.,$(VERSION_TRIM))1819ifdef FZF_REVISION20REVISION := $(FZF_REVISION)
169 unmodified lines