2004-06-10 19:51:28 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2006-01-18 16:57:55 +00:00
|
|
|
# add plan 9 postscript fonts
|
|
|
|
GS_FONTPATH=$GS_FONTPATH:$PLAN9/postscript/font
|
|
|
|
export GS_FONTPATH
|
|
|
|
|
2005-02-28 18:58:23 +00:00
|
|
|
#
|
|
|
|
# gv has decided to rename all its -foo options to --foo.
|
|
|
|
#
|
|
|
|
if gv -v 2>/dev/null | grep Usage >/dev/null
|
|
|
|
then
|
2005-02-28 20:20:18 +00:00
|
|
|
gv --nosafer --swap --style=$PLAN9/lib/gv.style --ad=$PLAN9/lib/gv.resource "$@"
|
2005-02-28 18:58:23 +00:00
|
|
|
else
|
2005-02-28 20:20:18 +00:00
|
|
|
gv -nosafer -swap -style $PLAN9/lib/gv.style -ad $PLAN9/lib/gv.resource "$@"
|
2005-02-28 18:58:23 +00:00
|
|
|
fi
|