1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Use ECHO_CMD instead of ECHO

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-02-25 15:40:12 +00:00
parent 7e8d3e7d0f
commit 81f49865db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346029

View File

@ -38,13 +38,13 @@ MS_DIRRMTRY= albums cache themes zp-core
MS_PLIST= ${WRKDIR}/.ms-pkg-plist
genplist: do-clean extract
${ECHO} '@owner www' > ${MS_PLIST}
${ECHO} '@group www' >> ${MS_PLIST}
${ECHO_CMD} '@owner www' > ${MS_PLIST}
${ECHO_CMD} '@group www' >> ${MS_PLIST}
cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SED} 's|^|%%WWWDIR%%/|' >> ${MS_PLIST}
cd ${WRKSRC}/ && ${FIND} -s * -type d | ${TAIL} -r | ${SED} 's|^|@dirrm %%WWWDIR%%/|' >> ${MS_PLIST}
${ECHO} '@dirrmtry %%WWWDIR%%' >> ${MS_PLIST}
${ECHO} '@owner' >> ${MS_PLIST}
${ECHO} '@group' >> ${MS_PLIST}
${ECHO_CMD} '@dirrmtry %%WWWDIR%%' >> ${MS_PLIST}
${ECHO_CMD} '@owner' >> ${MS_PLIST}
${ECHO_CMD} '@group' >> ${MS_PLIST}
.for dir in ${MS_DIRRMTRY}
${REINPLACE_CMD} '/^@dirrm %%WWWDIR%%\/${dir:C/\//\\\//g}$$/ s|@dirrm|&try|' ${MS_PLIST}
.endfor