Skip to content

Commit ddfab19

Browse files
authored
Merge pull request #2810 from Pinata-Consulting/makefile-better-out-of-tree-experience
makefile: improve out of ORFS tree use-case
2 parents a088445 + 93f5ea8 commit ddfab19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ SHELL := /usr/bin/env bash
123123
# location
124124
# - default is current install / clone directory
125125
ifeq ($(origin FLOW_HOME), undefined)
126-
FLOW_HOME := $(shell pwd)
126+
FLOW_HOME := $(abspath $(dir $(firstword $(MAKEFILE_LIST))))
127127
endif
128128
export FLOW_HOME
129129

0 commit comments

Comments
 (0)