Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2014 14:51:28 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355631 - head/Mk
Message-ID:  <201405281451.s4SEpSSL004695@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405281451.s4SEpSSL004695>