FreeBSD Bugzilla – Attachment 155744 Details for
Bug 199550
Mk/bsd.port.mk: COPYTREE_* escaping glob/shell patterns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v0
copytree_glob_escape.diff (text/plain), 1.32 KB, created by
Jan Beich
on 2015-04-19 19:34:06 UTC
(
hide
)
Description:
v0
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2015-04-19 19:34:06 UTC
Size:
1.32 KB
patch
obsolete
>Index: Mk/bsd.port.mk >=================================================================== >--- Mk/bsd.port.mk (revision 384088) >+++ Mk/bsd.port.mk (working copy) >@@ -2172,14 +2183,14 @@ MAKE_ENV+= ${INSTALL_MACROS} > SCRIPTS_ENV+= ${INSTALL_MACROS} > > # Macro for copying entire directory tree with correct permissions >-COPYTREE_BIN= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ >+COPYTREE_BIN= ${SH} -c '(eval ${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ > 2>&1) && \ >- ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ >- ${FIND} -d $$0 $$2 -type f -exec chmod ${BINMODE} $$1/{} \;' -- >-COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ >+ (eval ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \\\;) && \ >+ (eval ${FIND} -d $$0 $$2 -type f -exec chmod ${BINMODE} $$1/{} \\\;)' -- >+COPYTREE_SHARE= ${SH} -c '(eval ${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ > 2>&1) && \ >- ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ >- ${FIND} -d $$0 $$2 -type f -exec chmod ${SHAREMODE} $$1/{} \;' -- >+ (eval ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \\\;) && \ >+ (eval ${FIND} -d $$0 $$2 -type f -exec chmod ${SHAREMODE} $$1/{} \\\;)' -- > > # The user can override the NO_PACKAGE by specifying this from > # the make command line
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199550
:
155744