Fix ${LOCAL_PATCHES} (chdir was ignored).
This commit is contained in:
parent
54e3311643
commit
8a34b67a07
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122650
@ -346,10 +346,9 @@ release rerelease:
|
||||
${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} ${CVS_SRCARGS} ${RELEASESRCMODULE}
|
||||
.endif
|
||||
.if defined(LOCAL_PATCHES) && !empty(LOCAL_PATCHES)
|
||||
cd ${CHROOTDIR}/usr/${RELEASESRCMODULE}
|
||||
.for p in ${LOCAL_PATCHES}
|
||||
.if exists(${p})
|
||||
patch ${PATCH_FLAGS} < ${p}
|
||||
patch -d ${CHROOTDIR}/usr/${RELEASESRCMODULE} ${PATCH_FLAGS} < ${p}
|
||||
.endif
|
||||
.endfor
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user