Return to tar_it_up.sh CVS log | Up to [local] / nagios / check_pf_limits |
1.1 andrew 1: #!/bin/sh 1.3 ! andrew 2: # $AFresh1: tar_it_up.sh,v 1.2 2010/01/14 22:25:48 andrew Exp $ 1.1 andrew 3: 1.2 andrew 4: FILE=check_pf_limits 1.3 ! andrew 5: VER=`grep '$AFresh1[:]' $FILE | head -1 | sed 's/.*v \([0-9]*\.[0-9]*\).*/\1/'` 1.2 andrew 6: tar -czv -s "/^/${FILE}-${VER}\//" -f ${FILE}-${VER}.tar.gz ${FILE} README