aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-10-04 23:38:17 +0800
committerbapt <bapt@FreeBSD.org>2013-10-04 23:38:17 +0800
commitfa052bfab01a9dc958213474e3998073ceb14172 (patch)
tree965a6639cb9d25a3295892c2276491f2aa00b5c4 /Mk
parent6e72319cb2adb41dd5b985b0db927aefc1b81172 (diff)
downloadfreebsd-ports-gnome-fa052bfab01a9dc958213474e3998073ceb14172.tar.gz
freebsd-ports-gnome-fa052bfab01a9dc958213474e3998073ceb14172.tar.zst
freebsd-ports-gnome-fa052bfab01a9dc958213474e3998073ceb14172.zip
Fix directory staging
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.linux-rpm.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.linux-rpm.mk b/Mk/bsd.linux-rpm.mk
index 3aa9b608499a..ef03ce14c1f1 100644
--- a/Mk/bsd.linux-rpm.mk
+++ b/Mk/bsd.linux-rpm.mk
@@ -170,7 +170,7 @@ do-install:
. if ${BRANDELF_FILES}
@cd ${WRKSRC} && ${BRANDELF} -t Linux ${BRANDELF_FILES}
. endif
- cd ${WRKSRC} && ${FIND} * -path ./stage -prune -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/{}" \;
+ cd ${WRKSRC} && ${FIND} * -type d | ${GREP} -v "^stage" | ${PAX} -rw ${STAGEDIR}/${PREFIX}
cd ${WRKSRC} && ${FIND} * -path ./stage -prune ! -type d | ${CPIO} -pm -R root:wheel ${STAGEDIR}${PREFIX}
. endif