Fix installation with read-only OBJDIR.
Reported by: npn Sponsored by: Dell EMC
This commit is contained in:
parent
0ef8c0cb57
commit
fc287c10fb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329890
@ -177,7 +177,8 @@ CheckAutoObj() { \
|
||||
fi; \
|
||||
}
|
||||
.if !empty(__objdir)
|
||||
.if ${.CURDIR} == ${__objdir}
|
||||
.if ${.CURDIR} == ${__objdir} || \
|
||||
(exists(${__objdir}) && ${.TARGETS:M*install*} == ${.TARGETS})
|
||||
__objdir_writable?= yes
|
||||
.elif empty(__objdir_writable)
|
||||
__objdir_writable!= \
|
||||
|
Loading…
Reference in New Issue
Block a user