summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2015-03-14 15:56:21 +0300
committerGordon Ross <gwr@nexenta.com>2015-06-12 15:19:17 -0400
commit83885279ef0a4e648dec5ed9b6933631923e8a6a (patch)
tree96aac97f7ea7860eb4c379096d85100f36c37400
parentb3cff10cdd26674d8dc66e0b349fd185df709fad (diff)
downloadillumos-joyent-83885279ef0a4e648dec5ed9b6933631923e8a6a.tar.gz
5618 webrev is unable to format (mi in man pages
Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Gordon Ross <gwr@nexenta.com>
-rw-r--r--usr/src/tools/scripts/webrev.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/tools/scripts/webrev.sh b/usr/src/tools/scripts/webrev.sh
index 23289c13fe..78a66359b9 100644
--- a/usr/src/tools/scripts/webrev.sh
+++ b/usr/src/tools/scripts/webrev.sh
@@ -25,7 +25,7 @@
# Copyright 2008, 2010, Richard Lowe
# Copyright 2012 Marcel Telka <marcel@telka.sk>
# Copyright 2014 Bart Coddens <bart.coddens@gmail.com>
-# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
#
#
@@ -3170,7 +3170,7 @@ do
#
if [[ -f "$nfile" && "$nfile" = *.+([0-9])*([a-zA-Z]) && \
-x $MANDOC && -x $COL ]]; then
- $MANDOC -Tutf8 $nfile | $COL -b > $nfile.man.txt
+ $MANDOC -Tascii $nfile | $COL -b > $nfile.man.txt
source_to_html txt < $nfile.man.txt > $nfile.man.txt.html
print " man-txt\c"
print "$MANCSS" > $WDIR/raw_files/new/$DIR/man.css
@@ -3179,7 +3179,7 @@ do
$MANDOC -Tascii $nfile > $nfile.man.raw
print " man-raw\c"
if [[ -f "$ofile" && -z $mv_but_nodiff ]]; then
- $MANDOC -Tutf8 $ofile | $COL -b > $ofile.man.txt
+ $MANDOC -Tascii $ofile | $COL -b > $ofile.man.txt
${CDIFFCMD:-diff -bt -C 5} $ofile.man.txt \
$nfile.man.txt > $WDIR/$DIR/$F.man.cdiff
diff_to_html $F $DIR/$F "C" "$COMM" < \