We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99c79f0 commit cd3d42fCopy full SHA for cd3d42f
makelib/common.mk
@@ -169,7 +169,7 @@ COMMON_SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
169
170
# the root directory of this repo
171
ifeq ($(origin ROOT_DIR),undefined)
172
-ROOT_DIR := $(abspath $(shell cd $(COMMON_SELF_DIR)/../.. && pwd -P))
+ROOT_DIR := $(abspath $(lastword $(shell cd $(COMMON_SELF_DIR)/../.. && pwd -P)))
173
endif
174
175
# the output directory which holds final build produced artifacts
0 commit comments