Skip to content
Snippets Groups Projects
Commit f0de10cb authored by edgrif's avatar edgrif
Browse files

correct stupid -w flag stuff for enscript.

parent 34766e69
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,22 @@ foo-canvas-line.h foo-canvas-i18n.h"
src_dir=$1
dest_dir=$2
opsys=`uname`
case $opsys in
OSF1 )
output_flag='-W' ;;
Linux )
output_flag='-w' ;;
* )
ZBmsgAndExit "unsupported operating system: $opsys" ;;
esac
for i in $foocanvas_docs
do
header="$src_dir/$i"
......@@ -42,7 +58,7 @@ foo-canvas-line.h foo-canvas-i18n.h"
echo "$header -> $html"
enscript --color -W html -Ec -o $html $header
enscript --color $output_flag html -Ec -o $html $header || ZBmsgAndExit "enscript failed."
done
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment