fix: build on FreeBSD and non-Linux platforms (#2332)
This commit is contained in:
parent
11e9202160
commit
60d1e2d291
|
@ -1,4 +1,4 @@
|
||||||
SHELL := /bin/bash
|
SHELL := /usr/bin/env bash
|
||||||
DATE ?= $(shell date +%FT%T%z)
|
DATE ?= $(shell date +%FT%T%z)
|
||||||
BASE_PATH := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
BASE_PATH := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||||
VERSION ?= $(shell git describe --tags --always --match=v* 2> /dev/null || \
|
VERSION ?= $(shell git describe --tags --always --match=v* 2> /dev/null || \
|
||||||
|
@ -25,4 +25,4 @@ RESET := $(shell tput -Txterm sgr0)
|
||||||
|
|
||||||
define global_option
|
define global_option
|
||||||
printf " ${YELLOW}%-20s${GREEN}%s${RESET}\n" $(1) $(2)
|
printf " ${YELLOW}%-20s${GREEN}%s${RESET}\n" $(1) $(2)
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue