File: mkdist

package info (click to toggle)
tirc 1.2-10
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,388 kB
  • ctags: 1,909
  • sloc: ansic: 19,264; sh: 2,671; makefile: 222; awk: 14
file content (15 lines) | stat: -rwxr-xr-x 387 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

#	$Id: mkdist,v 1.5 1997/10/26 00:18:39 token Exp $
# Pack together a distribution archive which includes everything except
# the RCS files.  Command line parameter is release level (0.49a for ex.).

wd=`pwd`
distdir=`basename $wd`
cd ..
rm -f tirc.tar && \
tar cvf tirc.tar `find $distdir -type f | grep -v RCS` && \
gzip tirc.tar && \
mv tirc.tar.gz tirc-$1.tar.gz
cd $wd