Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2013 14:11:48 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328950 - head/Mk
Message-ID:  <201310011411.r91EBm86084146@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Oct  1 14:11:47 2013
New Revision: 328950
URL: http://svnweb.freebsd.org/changeset/ports/328950

Log:
  Fixup the MLINKS replacement code.
  
  Approved by:	bapt

Modified:
  head/Mk/bsd.stage.mk

Modified: head/Mk/bsd.stage.mk
==============================================================================
--- head/Mk/bsd.stage.mk	Tue Oct  1 14:10:43 2013	(r328949)
+++ head/Mk/bsd.stage.mk	Tue Oct  1 14:11:47 2013	(r328950)
@@ -31,10 +31,10 @@ compress-man:
 	done ; \
 	for dir in $$mdirs; do \
 		${FIND} $$dir -type f \! -name "*.gz" -links 1 -exec ${GZIP_CMD} {} \; ; \
-		${FIND} $$dir -type f \! -name "*.gz" \! -links 1 -print -exec ${STAT} -f '%i' {} \; | \
+		${FIND} $$dir -type f \! -name "*.gz" \! -links 1 -exec ${STAT} -f '%i' {} \; | \
 			${SORT} -u | while read inode ; do \
 				unset ref ; \
-				for f in $$(${FIND} -type f -inum $${inode} -print); do \
+				for f in $$(${FIND} $$dir -type f -inum $${inode} -print); do \
 					if [ -z $$ref ]; then \
 						ref=$${f}.gz ; \
 						${GZIP_CMD} $${f} ; \



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