We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eac3850 commit 44b2f68Copy full SHA for 44b2f68
Makefile
@@ -129,9 +129,7 @@ SHELL = /bin/bash
129
.SHELLFLAGS = -o pipefail -c
130
131
# SRC_ROOT is the top of the source tree.
132
-# TODO: This causes "/bin/sh: git: not found" when we are using the Makefile in containers that do not have git
133
-# installed.
134
-SRC_ROOT := $(shell git rev-parse --show-toplevel)
+SRC_ROOT := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
135
TOOLS_BIN_DIR := $(SRC_ROOT)/.tools
136
CHLOGGEN_CONFIG := .chloggen/config.yaml
137
CHLOGGEN := $(TOOLS_BIN_DIR)/chloggen
0 commit comments