Page MenuHomeFreeBSD

D2364.id5041.diff
No OneTemporary

D2364.id5041.diff

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
@@ -216,7 +216,15 @@
# Add to the list of components which should be kept updated.
config_Components () {
for C in $@; do
- COMPONENTS="${COMPONENTS} ${C}"
+ if [ "$C" = "src" ]; then
+ if [ -e /usr/src/COPYRIGHT ]; then
+ COMPONENTS="${COMPONENTS} ${C}"
+ else
+ echo "src component not installed, skiped"
+ fi
+ else
+ COMPONENTS="${COMPONENTS} ${C}"
+ fi
done
}

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 13, 12:21 PM (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23674907
Default Alt Text
D2364.id5041.diff (616 B)

Event Timeline