Check menuitem before calculating tag.
This commit is contained in:
parent
0933e74b10
commit
4b97e14f62
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252848
@ -235,11 +235,11 @@ dialog_menu_main()
|
||||
local separator_added=
|
||||
for menuitem in $( cd "$BSDCFG_LOCAL_LIBE" 2> /dev/null && ls -d * )
|
||||
do
|
||||
[ $index -lt ${#DIALOG_MENU_TAGS} ] || break
|
||||
|
||||
# Skip the module if it looks like a `base' module
|
||||
case "$menuitem" in [0-9][0-9][0-9].*) continue;; esac
|
||||
|
||||
[ $index -lt ${#DIALOG_MENU_TAGS} ] || break
|
||||
|
||||
menu_program= menu_title= menu_help=
|
||||
f_include_lang $BSDCFG_LOCAL_LIBE/$menuitem/INDEX || continue
|
||||
[ "$menu_program" ] || continue
|
||||
|
Loading…
Reference in New Issue
Block a user