fix: build on FreeBSD and non-Linux platforms (#2332)

This commit is contained in:
Yonas Yanfa authored and GitHub committed 2023-02-06 18:34:25 +01:00
1 parent 11e9202160
commit 60d1e2d291
1 file changed
+1 -1
+1 -1
View File
@@ -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 || \