Use /usr/bin/env for bash

After this change, make works on nixos.

Signed-off-by: Daniel Poelzleithner <git@poelzi.org>
Signed-off-by: Matheus Hunsche <matheus.hunsche@ifood.com.br>
pull/8840/head
Daniel Poelzleithner 6 years ago committed by Matheus Hunsche
parent d0a4329ad3
commit 4303bfd422

@ -24,7 +24,7 @@ GOFLAGS :=
SRC := $(shell find . -type f -name '*.go' -print) SRC := $(shell find . -type f -name '*.go' -print)
# Required for globs to work correctly # Required for globs to work correctly
SHELL = /bin/bash SHELL = /usr/bin/env bash
GIT_COMMIT = $(shell git rev-parse HEAD) GIT_COMMIT = $(shell git rev-parse HEAD)
GIT_SHA = $(shell git rev-parse --short HEAD) GIT_SHA = $(shell git rev-parse --short HEAD)

Loading…
Cancel
Save