Use new f_getvar for clarity and general code follow-up to r249746.

This commit is contained in:
Devin Teske 2013-04-22 05:32:27 +00:00
parent cdf0868a3d
commit 5421f6b13f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249749

View File

@ -312,10 +312,13 @@ while :; do
;;
*) # Dynamically loaded menuitem
cmd=$( eval echo \"\$menu_program$mtag\" )
f_getvar menu_program$mtag menu_program
case "$menu_program" in
/*) cmd="$menu_program";;
*) cmd="$BSDCFG_LIBE/$menu_program"
esac
f_dprintf "cmd=[%s]" "$cmd"
$cmd ${USE_XDIALOG:+-X}
;;
esac
done