Make sure we qualify _objroot with trailing / if needed
This commit is contained in:
parent
2cf365a73a
commit
56806421c2
@ -51,7 +51,12 @@ _CURDIR ?= ${.CURDIR}
|
|||||||
_OBJDIR ?= ${.OBJDIR}
|
_OBJDIR ?= ${.OBJDIR}
|
||||||
_OBJTOP ?= ${OBJTOP}
|
_OBJTOP ?= ${OBJTOP}
|
||||||
_OBJROOT ?= ${OBJROOT:U${_OBJTOP}}
|
_OBJROOT ?= ${OBJROOT:U${_OBJTOP}}
|
||||||
_objroot ?= ${_OBJROOT:tA}
|
.if ${_OBJROOT:M*/}
|
||||||
|
_slash=/
|
||||||
|
.else
|
||||||
|
_slash=
|
||||||
|
.endif
|
||||||
|
_objroot ?= ${_OBJROOT:tA}${_slash}
|
||||||
|
|
||||||
_this = ${.PARSEDIR}/${.PARSEFILE}
|
_this = ${.PARSEDIR}/${.PARSEFILE}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user