diff options
author | bapt <bapt@FreeBSD.org> | 2013-10-04 23:38:17 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-10-04 23:38:17 +0800 |
commit | fa052bfab01a9dc958213474e3998073ceb14172 (patch) | |
tree | 965a6639cb9d25a3295892c2276491f2aa00b5c4 /Mk | |
parent | 6e72319cb2adb41dd5b985b0db927aefc1b81172 (diff) | |
download | freebsd-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.mk | 2 |
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 |