View | Details | Raw Unified | Return to bug 271830 | Differences between
and this patch

Collapse All | Expand All

(-)man.sh (-3 / +3 lines)
Lines 603-609 Link Here
603
	fi
603
	fi
604
604
605
	IFS=:
605
	IFS=:
606
	for sect in $man_default_sections; do
606
	for sect in $MANSECT; do
607
		if [ "$sect" = "$1" ]; then
607
		if [ "$sect" = "$1" ]; then
608
			decho "Detected manual section as first arg: $1"
608
			decho "Detected manual section as first arg: $1"
609
			MANSECT="$1"
609
			MANSECT="$1"
Lines 787-794 Link Here
787
				trim "${line#MANCONFIG}"
787
				trim "${line#MANCONFIG}"
788
				config_local="$tstr"
788
				config_local="$tstr"
789
				;;
789
				;;
790
		# Set variables in the form of FOO_BAR
790
		# Set other variables
791
		*_*[\ \	]*)	var="${line%%[\ \	]*}"
791
		*[\ \	]*)	var="${line%%[\ \	]*}"
792
				trim "${line#$var}"
792
				trim "${line#$var}"
793
				eval "$var=\"$tstr\""
793
				eval "$var=\"$tstr\""
794
				decho "    Parsed $var" 3
794
				decho "    Parsed $var" 3

Return to bug 271830