Date: Fri, 5 Jul 2013 22:24:43 +0000 (UTC) From: Devin Teske <dteske@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252848 - head/usr.sbin/bsdconfig Message-ID: <201307052224.r65MOhhA005073@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dteske Date: Fri Jul 5 22:24:43 2013 New Revision: 252848 URL: http://svnweb.freebsd.org/changeset/base/252848 Log: Check menuitem before calculating tag. Modified: head/usr.sbin/bsdconfig/bsdconfig Modified: head/usr.sbin/bsdconfig/bsdconfig ============================================================================== --- head/usr.sbin/bsdconfig/bsdconfig Fri Jul 5 22:10:50 2013 (r252847) +++ head/usr.sbin/bsdconfig/bsdconfig Fri Jul 5 22:24:43 2013 (r252848) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307052224.r65MOhhA005073>