summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr')
-rw-r--r--subr/build_init.subr4
1 files changed, 3 insertions, 1 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr
index 27c1986f..ee70bc2f 100644
--- a/subr/build_init.subr
+++ b/subr/build_init.subr
@@ -53,7 +53,9 @@ build_init() {
done;
for __ in $(find ./groups -name *.group | sort); do
. "${__}"; __="${__##*/}"; __="${__%.group}";
- if [ "${__#[0-9][0-9][0-9].*}" != "${__}" ]; then
+ if [ "${__#[0-9][0-9][0-9].*}" != "${__}" ]\
+ && [ "${__#*[1-9].*}" = "${__}" ]\
+ && [ "${__}" != "999.invariants.group" ]; then
GROUPS_DEFAULT="${GROUPS_DEFAULT:+${GROUPS_DEFAULT} }${__#*.}";
fi;
done;