1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Remove -a when copying package. r329130 broke this when PACKAGES was on

NFS. It is not that important to preserve timestamp for the package, and
  other metadata seems to be fine otherwise. This whole thing needs to be
  reworked so PKGFILE is more respected (another regression of mine).

With hat:	portmgr
Reported by:	will
Pointyhat to:	bdrewery
This commit is contained in:
Bryan Drewery 2014-09-19 15:44:55 +00:00
parent 182d819243
commit 9b977fa9aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368570

View File

@ -3612,7 +3612,7 @@ do-package: ${TMPPLIST}
@if ${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CREATE} ${PKG_CREATE_ARGS} -f ${PKG_SUFX:S/.//} -o ${WRKDIR}/pkg ${PKGNAME}; then \
if [ -d ${PKGREPOSITORY} -a -w ${PKGREPOSITORY} ]; then \
${LN} -f ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} ${PKGFILE} 2>/dev/null \
|| ${CP} -af ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} ${PKGFILE}; \
|| ${CP} -f ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} ${PKGFILE}; \
if [ "${PKGORIGIN}" = "ports-mgmt/pkg" -o "${PKGORIGIN}" = "ports-mgmt/pkg-devel" ]; then \
if [ ! -d ${PKGLATESTREPOSITORY} ]; then \
if ! ${MKDIR} ${PKGLATESTREPOSITORY}; then \