gv has decided to rename all its -foo options to --foo. sigh.
This commit is contained in:
parent
10ff532fdc
commit
c530c00421
12
bin/psv
12
bin/psv
@ -1,3 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
gv -nosafer -swap -style $PLAN9/lib/gv.style -ad $PLAN9/lib/gv.resource "$@"
|
||||
#
|
||||
# gv has decided to rename all its -foo options to --foo.
|
||||
#
|
||||
if gv -v 2>/dev/null | grep Usage >/dev/null
|
||||
then
|
||||
m=-
|
||||
else
|
||||
m=''
|
||||
fi
|
||||
|
||||
gv $m-nosafer $m-swap $m-style $PLAN9/lib/gv.style $m-ad $PLAN9/lib/gv.resource "$@"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user