svn commit: r355631 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Wed May 28 14:51:28 UTC 2014


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 at 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 \


More information about the svn-ports-all mailing list