- Cleanup find command
PR: ports/151880 Submitted by: ohauer Approved by: ale (maintainer)
This commit is contained in:
parent
5b806a2bbf
commit
4c0afb6aa2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266171
1 changed files with 1 additions and 2 deletions
|
@ -70,8 +70,7 @@ pre-patch:
|
|||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${WRKSRC}/conf/server.xml
|
||||
@${RM} -f `${FIND} ${WRKSRC} -name '*.bat'` `${FIND} ${WRKSRC} -name '*.exe'` \
|
||||
`${FIND} ${WRKSRC} -name '*.orig'` `${FIND} ${WRKSRC} -name '*.bak'`
|
||||
@${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.bat' -or -name '*.dll' -or -name '*.exe' -or -name '*.orig' \) -delete
|
||||
.for f in ${CONF_FILES}
|
||||
@${MV} ${WRKSRC}/conf/${f} ${WRKSRC}/conf/${f}.${CONF_EXT}
|
||||
.endfor
|
||||
|
|
Loading…
Reference in a new issue