mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Rename USER and GROUP to PHPUA_USER and PHPUA_GROUP, the USER variable
was getting in from environment, causing unwanted behaviour and weird failures on pointyhat Approved by: portmgr (marcus)
This commit is contained in:
parent
d47bc79c98
commit
c63d33e3de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140828
1 changed files with 3 additions and 3 deletions
|
@ -22,8 +22,8 @@ PLIST_SUB+= PHPUADIR=${PHPUADIR}
|
|||
|
||||
# Dynamic custom variables
|
||||
WWWDOC?= www/data
|
||||
USER?= www
|
||||
GROUP?= www
|
||||
PHPUA_USER?= www
|
||||
PHPUA_GROUP?= www
|
||||
APPNAME?= phpua
|
||||
|
||||
# Static Variables
|
||||
|
@ -59,6 +59,6 @@ do-install:
|
|||
@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUADIR}/
|
||||
@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUADIR}/
|
||||
@ ${CP} -R ${WRKDIR}/wap ${PREFIX}/${PHPUADIR}/
|
||||
@ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUADIR}/
|
||||
@ ${CHOWN} -R ${PHPUA_USER}:${PHPUA_GROUP} ${PREFIX}/${PHPUADIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue