summaryrefslogtreecommitdiffstats
path: root/tools/build/options
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2011-05-10 12:57:39 +0000
committerru <ru@FreeBSD.org>2011-05-10 12:57:39 +0000
commitb2902af2603fe84df68bab9b575bb575008825e2 (patch)
tree50f9aa25d8686c6d98bcd0db3669d43c33c6bf40 /tools/build/options
parent6491e2a57153ce2b39c9af266fcf08d4e949bb44 (diff)
downloadFreeBSD-src-b2902af2603fe84df68bab9b575bb575008825e2.zip
FreeBSD-src-b2902af2603fe84df68bab9b575bb575008825e2.tar.gz
Style.
Diffstat (limited to 'tools/build/options')
-rwxr-xr-xtools/build/options/makeman20
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/build/options/makeman b/tools/build/options/makeman
index 99c892e..ca69f1b 100755
--- a/tools/build/options/makeman
+++ b/tools/build/options/makeman
@@ -206,21 +206,21 @@ EOF
if [ ! -f ${opt} ] ; then
echo "no description found for ${opt}, skipping" >&2
continue
- else
- echo ".It Va ${opt}"
- sed -e's/\$\(FreeBSD: .*\) \$/from \1/' ${opt}
- if [ -n "${targets}" ] ; then
- echo '.Pp'
- echo 'It is a default setting on'
- echo $(echo ${targets} | sed -e's/ /, /g' -e's/\(.*\), /\1 and /').
- fi
fi
- if [ "${opt%%_*}" = "WITHOUT" ] ; then
+ echo ".It Va ${opt}"
+ sed -e's/\$\(FreeBSD: .*\) \$/from \1/' ${opt}
+ if [ -n "${targets}" ] ; then
+ echo '.Pp'
+ echo 'It is a default setting on'
+ echo $(echo ${targets} | sed -e's/ /, /g' -e's/\(.*\), /\1 and /').
+ fi
+
+ if [ "${opt%%_*}" = 'WITHOUT' ] ; then
sed -n "/^WITH_${opt#WITHOUT_}$/!s/$/=/p" $t/config_WITH_ALL > $t/src.conf
show settings SRCCONF=$t/src.conf -D${opt} | sort > $t/config_WITH_ALL_${opt}
comm -13 $t/config_WITH_ALL $t/config_WITH_ALL_${opt} | sed -n "/^${opt}$/!p" > $t/deps
- elif [ "${opt%%_*}" = "WITH" ] ; then
+ elif [ "${opt%%_*}" = 'WITH' ] ; then
sed -n "/^WITHOUT${opt#WITH}$/!s/$/=/p" $t/config_WITHOUT_ALL > $t/src.conf
show settings SRCCONF=$t/src.conf -D${opt} | sort > $t/config_WITHOUT_ALL_${opt}
comm -13 $t/config_WITHOUT_ALL $t/config_WITHOUT_ALL_${opt} | sed -n "/^${opt}$/!p" > $t/deps
OpenPOWER on IntegriCloud