Changeset View
Changeset View
Standalone View
Standalone View
head/usr.sbin/freebsd-update/freebsd-update.sh
Show First 20 Lines • Show All 215 Lines • ▼ Show 20 Lines | else | ||||
return 1 | return 1 | ||||
fi | fi | ||||
} | } | ||||
# Add to the list of components which should be kept updated. | # Add to the list of components which should be kept updated. | ||||
config_Components () { | config_Components () { | ||||
for C in $@; do | for C in $@; do | ||||
if [ "$C" = "src" ]; then | if [ "$C" = "src" ]; then | ||||
if [ -e /usr/src/COPYRIGHT ]; then | if [ -e "${BASEDIR}/usr/src/COPYRIGHT" ]; then | ||||
COMPONENTS="${COMPONENTS} ${C}" | COMPONENTS="${COMPONENTS} ${C}" | ||||
else | else | ||||
echo "src component not installed, skipped" | echo "src component not installed, skipped" | ||||
fi | fi | ||||
else | else | ||||
COMPONENTS="${COMPONENTS} ${C}" | COMPONENTS="${COMPONENTS} ${C}" | ||||
fi | fi | ||||
done | done | ||||
▲ Show 20 Lines • Show All 3,101 Lines • Show Last 20 Lines |