3 cvsrev
=`echo $revision | sed -e 's/-//;s/\./-/g'`
6 version
=`echo $revision | sed -e 's/nvi-//'`
8 if test "$revision" = now
; then
14 cvs
export $option -d $dir vi
16 sh distrib
--include-deps
21 for i
in edit exref vi.man vi.ref vitut
; do
24 rm -f core
# grops sometimes dumps core on me
29 perl
-pi -e "s/version 1.80/version $version/" README
30 perl
-pi -e "s(%H%)($date)" README
33 perl
-pi -e "s/\\\$Revision: 8.3 $/$version/" version.h
34 perl
-pi -e "s(%H%)($date)" version.h
36 tar czf
$dir.
tar.gz
$dir