Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105589467
D3729.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3729.diff
View Options
Index: head/Mk/bsd.options.mk
===================================================================
--- head/Mk/bsd.options.mk
+++ head/Mk/bsd.options.mk
@@ -476,12 +476,12 @@
. endfor
. endif
. if defined(${opt}_VARS)
-. for var in ${${opt}_VARS}
-_u= ${var:C/=.*//}
+. for var in ${${opt}_VARS:C/=.*//:O:u}
+_u= ${var}
. if ${_u:M*+}
-${_u:C/.$//:tu}+= ${var:C/[^+]*\+=//:C/^"(.*)"$$/\1/}
+${_u:C/.$//:tu}+= ${${opt}_VARS:M${var}=*:C/[^+]*\+=//:C/^"(.*)"$$/\1/}
. else
-${_u:tu}= ${var:C/[^=]*=//:C/^"(.*)"$$/\1/}
+${_u:tu}= ${${opt}_VARS:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/}
. endif
. endfor
. endif
@@ -524,12 +524,12 @@
. endfor
. endif
. if defined(${opt}_VARS_OFF)
-. for var in ${${opt}_VARS_OFF}
-_u= ${var:C/=.*//}
+. for var in ${${opt}_VARS_OFF:C/=.*//:O:u}
+_u= ${var}
. if ${_u:M*+}
-${_u:C/.$//:tu}+= ${var:C/[^+]*\+=//:C/^"(.*)"$$/\1/}
+${_u:C/.$//:tu}+= ${${opt}_VARS_OFF:M${var}=*:C/[^+]*\+=//:C/^"(.*)"$$/\1/}
. else
-${_u:tu}= ${var:C/[^=]*=//:C/^"(.*)"$$/\1/}
+${_u:tu}= ${${opt}_VARS_OFF:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/}
. endif
. endfor
. endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 12:51 AM (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15498425
Default Alt Text
D3729.diff (1 KB)
Attached To
Mode
D3729: Fix opt_VARS premature expansion
Attached
Detach File
Event Timeline
Log In to Comment