#! /bin/sh # # $FreeBSD$ # # wrap - Combine a directory into a single tar package. # This script is always called with the current directory set to # where the file to be combined exists. but i may get called with a # path to where cvs first started executing. (this probably should be # fixed in cvs) so strip out all of the directory information. The # first sed expression will only work if the path has a leading / # if it doesn't the one in the if statement will work. DIRNAME=`echo $1 | sed -e "s|/.*/||g"` if [ ! -d $DIRNAME ] ; then DIRNAME=`echo $1 | sed -e "s|.*/||g"` fi # # Now tar up the directory but we now will only get a relative path # even if the user did a cvs commit . at the top. # tar --preserve -cf - $DIRNAME | gzip --no-name --best -c > $2 ef='https://www.csie.ntu.edu.tw/~b01902062/git/freebsd-ports-gnome' title='freebsd-ports-gnome Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Tree-DAG_Node
Commit message (Expand)AuthorAgeFilesLines
* - Cleaning MD5 in perl@'s ports.jadawin2011-05-171-1/+0