Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144327882
D16476.id45930.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
914 B
Referenced Files
None
Subscribers
None
D16476.id45930.diff
View Options
Index: share/mk/bsd.confs.mk
===================================================================
--- share/mk/bsd.confs.mk
+++ share/mk/bsd.confs.mk
@@ -107,6 +107,12 @@
${group}NAME_${cnf}?= ${cnf:T}
. endif # defined(${group}NAME)
+# Work around a bug with install(1) -C and /dev/null
+. if ${cnf} == "/dev/null"
+INSTALL_COPY=
+. else
+INSTALL_COPY= -C
+. endif
STAGE_AS_SETS+= ${cnf:T}
STAGE_AS_${cnf:T}= ${${group}NAME_${cnf:T}}
@@ -116,7 +122,7 @@
realinstallconfig: installdirs-${_${group}DIR_${cnf}} _${group}INS_${cnf:T}
_${group}INS_${cnf:T}: ${cnf}
- ${INSTALL} ${${group}TAG_ARGS} -C -o ${${group}OWN_${cnf}} \
+ ${INSTALL} ${${group}TAG_ARGS} ${INSTALL_COPY} -o ${${group}OWN_${cnf}} \
-g ${${group}GRP_${cnf}} -m ${${group}MODE_${cnf}} \
${.ALLSRC} ${${group}PREFIX_${cnf}}/${${group}NAME_${cnf}}
. endfor # for cnf in ${${group}}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 9:12 PM (6 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28498131
Default Alt Text
D16476.id45930.diff (914 B)
Attached To
Mode
D16476: Handle a bug with install(1) -C and /dev/null
Attached
Detach File
Event Timeline
Log In to Comment