Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2015 21:19:43 +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: r399022 - head/Mk
Message-ID:  <201510102119.t9ALJhi4042992@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Oct 10 21:19:43 2015
New Revision: 399022
URL: https://svnweb.freebsd.org/changeset/ports/399022

Log:
  Avoid a useless call to dirname

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Sat Oct 10 21:04:44 2015	(r399021)
+++ head/Mk/bsd.port.mk	Sat Oct 10 21:19:43 2015	(r399022)
@@ -4829,7 +4829,7 @@ ${i:S/-//:tu}=	${WRKDIR}/${SUB_FILES:M${
 .if !target(generate-plist)
 generate-plist: ${WRKDIR}
 	@${ECHO_MSG} "===>   Generating temporary packing list"
-	@${MKDIR} `${DIRNAME} ${TMPPLIST}`
+	@${MKDIR} ${TMPPLIST:H}
 	@if [ ! -f ${DESCR} ]; then ${ECHO_MSG} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi
 	@>${TMPPLIST}
 	@for file in ${PLIST_FILES}; do \



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