home *** CD-ROM | disk | FTP | other *** search
- if ( test -f $1/tar_gs ) then
- echo Writing $1.tar.Z....
- cd $1
- ./tar_cat
- rm -f arch.h gconfig.h gconfig.tr _temp_* libc*.tr q* t.*
- echo quit >quit.ps
- cd ..
- tar cvf - $1/g*.asm $1/i*.asm $1/*.bat \
- $1/ansi2knr.c $1/ega.c $1/stream.c $1/trace.c $1/uniq.c $1/utrace.c \
- $1/g*.c $1/i*.c $1/z*.c $1/turboc.cfg \
- $1/*.doc $1/*.gsf $1/*.h $1/*.mak $1/*.man $1/*.ps \
- $1/*.sh $1/*.tr $1/tar_cat $1/tar_gs $1/Fontmap \
- $1/COPYING $1/LICENSE $1/README \
- $1/bdftops $1/ccgs $1/gsconfig $1/gsnd $1/gssetdev $1/pfbtops \
- | compress > $1.tar.Z
- echo Wrote $1.tar.Z.
- else
- echo The Ghostscript files must be in the directory ./$1.
- fi
-