Skip to content

Commit cdb1a54

Browse files
Kijewskicgundogan
authored andcommitted
make: no need to invoke shell to get dir name
1 parent 2162da2 commit cdb1a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.include

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
all:
55

66
# set undefined variables
7-
RIOTBASE ?= $(shell dirname "$(lastword $(MAKEFILE_LIST))")
7+
RIOTBASE ?= $(dir $(lastword $(MAKEFILE_LIST)))
88
CCACHE_BASEDIR ?= $(RIOTBASE)
99
RIOTCPU ?= $(RIOTBASE)/cpu
1010
RIOTBOARD ?= $(RIOTBASE)/boards

0 commit comments

Comments
 (0)