blob: d38f58431b7b5c11fd99a806d0075c52bd0ea5e5 [file] [log] [blame]
rsc3b09f6d2004-06-10 19:51:28 +00001#!/bin/sh
2
rscbebed442006-01-18 16:57:55 +00003# add plan 9 postscript fonts
4GS_FONTPATH=$GS_FONTPATH:$PLAN9/postscript/font
5export GS_FONTPATH
6
rscc530c002005-02-28 18:58:23 +00007#
8# gv has decided to rename all its -foo options to --foo.
9#
10if gv -v 2>/dev/null | grep Usage >/dev/null
11then
rsc6e380292005-02-28 20:20:18 +000012 gv --nosafer --swap --style=$PLAN9/lib/gv.style --ad=$PLAN9/lib/gv.resource "$@"
rscc530c002005-02-28 18:58:23 +000013else
rsc6e380292005-02-28 20:20:18 +000014 gv -nosafer -swap -style $PLAN9/lib/gv.style -ad $PLAN9/lib/gv.resource "$@"
rscc530c002005-02-28 18:58:23 +000015fi