Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149517762
D2069.id4233.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
890 B
Referenced Files
None
Subscribers
None
D2069.id4233.diff
View Options
Index: head/share/mk/bsd.links.mk
===================================================================
--- head/share/mk/bsd.links.mk
+++ head/share/mk/bsd.links.mk
@@ -7,25 +7,11 @@
afterinstall: _installlinks
.ORDER: realinstall _installlinks
_installlinks:
-.if defined(LINKS) && !empty(LINKS)
- @set ${LINKS}; \
- while test $$# -ge 2; do \
- l=${DESTDIR}$$1; \
- shift; \
- t=${DESTDIR}$$1; \
- shift; \
- ${ECHO} $$t -\> $$l; \
- ${INSTALL_LINK} $$l $$t; \
- done; true
-.endif
-.if defined(SYMLINKS) && !empty(SYMLINKS)
- @set ${SYMLINKS}; \
- while test $$# -ge 2; do \
- l=$$1; \
- shift; \
- t=${DESTDIR}$$1; \
- shift; \
- ${ECHO} $$t -\> $$l; \
- ${INSTALL_SYMLINK} $$l $$t; \
- done; true
-.endif
+.for s t in ${LINKS}
+ @${ECHO} "$t -> $s" ;\
+ ${INSTALL_LINK} $s $t
+.endfor
+.for s t in ${SYMLINKS}
+ @${ECHO} "$t -> $s" ;\
+ ${INSTALL_SYMLINK} $s $t
+.endfor
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 26, 12:04 AM (22 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30353567
Default Alt Text
D2069.id4233.diff (890 B)
Attached To
Mode
D2069: Symplify links installation by using multi variable for loop
Attached
Detach File
Event Timeline
Log In to Comment