Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136765073
D21579.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
813 B
Referenced Files
None
Subscribers
None
D21579.diff
View Options
Index: head/usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- head/usr.sbin/freebsd-update/freebsd-update.sh
+++ head/usr.sbin/freebsd-update/freebsd-update.sh
@@ -221,6 +221,14 @@
# Add to the list of components which should be kept updated.
config_Components () {
for C in $@; do
+ COMPONENTS="${COMPONENTS} ${C}"
+ done
+}
+
+# Remove src component from list if it isn't installed
+finalize_components_config () {
+ COMPONENTS=""
+ for C in $@; do
if [ "$C" = "src" ]; then
if [ -e "${BASEDIR}/usr/src/COPYRIGHT" ]; then
COMPONENTS="${COMPONENTS} ${C}"
@@ -3284,6 +3292,7 @@
parse_cmdline $@
parse_conffile
default_params
+ finalize_components_config ${COMPONENTS}
}
# Fetch command. Make sure that we're being called
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 20, 9:11 AM (16 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25718317
Default Alt Text
D21579.diff (813 B)
Attached To
Mode
D21579: freebsd-update: Fix src component detection
Attached
Detach File
Event Timeline
Log In to Comment