Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148095114
D3729.id8920.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
666 B
Referenced Files
None
Subscribers
None
D3729.id8920.diff
View Options
Index: Mk/bsd.options.mk
===================================================================
--- Mk/bsd.options.mk
+++ Mk/bsd.options.mk
@@ -475,12 +475,11 @@
. endfor
. endif
. if defined(${opt}_VARS)
-. for var in ${${opt}_VARS}
-_u= ${var:C/=.*//}
-. if ${_u:M*+}
-${_u:C/.$//:tu}+= ${var:C/[^+]*\+=//:C/^"(.*)"$$/\1/}
+. for var in ${${opt}_VARS:C/=.*//:O:u}
+. if ${var:M*+}
+${var:C/.$//:tu}+= ${${opt}_VARS:M${var}=*:C/[^+]*\+=//:C/^"(.*)"$$/\1/}
. else
-${_u:tu}= ${var:C/[^=]*=//:C/^"(.*)"$$/\1/}
+${var:tu}= ${${opt}_VARS:M${var}=*:[-1]:C/[^=]*=//:C/^"(.*)"$$/\1/}
. endif
. endfor
. endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 16, 5:41 PM (20 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29779728
Default Alt Text
D3729.id8920.diff (666 B)
Attached To
Mode
D3729: Fix opt_VARS premature expansion
Attached
Detach File
Event Timeline
Log In to Comment