Fix: Check real dir, not the parent. How-To-Repeat: # run as unprivileged user in 'wheel' group sudo chmod g+w /usr/ports/distfiles/vim cd /usr/ports/editors/vim-lite make fetch [skip] => vim-7.2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/vim. => /usr/ports/distfiles is not writable by you; cannot fetch.
Responsible Changed From-To: freebsd-ports-bugs->portmgr Pass.
Author: bapt Date: Wed May 28 14:51:28 2014 New Revision: 355631 URL: http://svnweb.freebsd.org/changeset/ports/355631 QAT: https://qat.redports.org/buildarchive/r355631/ Log: fix checking DISTDIR for writeability PR: ports/127467 Submitted by: Sergey Skvortsov <godegisel@FreeBSD.org> Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Wed May 28 14:46:27 2014 (r355630) +++ head/Mk/bsd.port.mk Wed May 28 14:51:28 2014 (r355631) @@ -3376,8 +3376,8 @@ do-fetch: fi; \ fi; \ ${ECHO_MSG} "=> $$file doesn't seem to exist in ${_DISTDIR}."; \ - if [ ! -w ${DISTDIR} ]; then \ - ${ECHO_MSG} "=> ${DISTDIR} is not writable by you; cannot fetch."; \ + if [ ! -w ${_DISTDIR} ]; then \ + ${ECHO_MSG} "=> ${_DISTDIR} is not writable by you; cannot fetch."; \ exit 1; \ fi; \ if [ ! -z "$$select" ] ; then \ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!