|
Lines 216-222
Link Here
|
| 216 |
# Add to the list of components which should be kept updated. |
216 |
# Add to the list of components which should be kept updated. |
| 217 |
config_Components () { |
217 |
config_Components () { |
| 218 |
for C in $@; do |
218 |
for C in $@; do |
| 219 |
COMPONENTS="${COMPONENTS} ${C}" |
219 |
if [ ! "$C" = "src" ]; then |
|
|
220 |
COMPONENTS="${COMPONENTS} ${C}" |
| 221 |
else |
| 222 |
if [ "$(ls -A "/usr/src/")" ]; then |
| 223 |
COMPONENTS="${COMPONENTS} ${C}" |
| 224 |
else |
| 225 |
echo "/usr/src/ is empty, skip src component" |
| 226 |
fi |
| 227 |
fi |
| 220 |
done |
228 |
done |
| 221 |
} |
229 |
} |