mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix ${LOCAL_PATCHES} (chdir was ignored).
This commit is contained in:
parent
54e3311643
commit
8a34b67a07
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue