--- sh.tarball 2006/02/04 09:43:25 1.24
+++ sh.tarball 2006/02/04 09:54:07 1.25
@@ -31,7 +31,7 @@
opt_d=""
opt_u=""
opt_g=""
-opt_e="CVS,\\.cvsignore,\\.[oa]\$"
+opt_e="CVS,\\.cvsignore,\\.svn,\\.[oa]\$"
. ./sh.common
@@ -209,6 +209,7 @@
[B<-v>|B<--verbose>]
[B<-o>|B<--output> I<tarball>]
[B<-c>|B<--compress> I<prog>]
+[B<-d>|B<--directory> I<directory>]
[B<-u>|B<--user> I<user>]
[B<-g>|B<--group> I<group>]
[B<-e>|B<--exclude> I<pattern>]
@@ -221,8 +222,8 @@
The four important aspects of good open source software tarballs are:
(1) unpack into a single top-level directory, (2) top-level directory
-corresponds to the tarball filename, (3) tarball should be sorted and
-(4) arbitrary names for file owner and group.
+corresponds to the tarball filename, (3) tarball files should be sorted
+and (4) arbitrary names for file owner and group.
=head1 OPTIONS
@@ -246,6 +247,11 @@
Pipe resulting tarball through compression program I<prog>.
+=item B<-d>, B<--directory> I<directory>
+
+Sets the top-level directory into which the tarball unpacks.
+By default it is I<tarball> without the trailing C<.tar.*> extension.
+
=item B<-u>, B<--user> I<user>
The user (owner) of files and directories in the tarball to I<user>.
@@ -259,7 +265,7 @@
Exclude files and directories matching comma-separated list of
regex I<pattern> from the tarball. Directories are expanded
before the filtering takes place. The default filter pattern is
-"C<CVS,\\.cvsignore,\\.[oa]\$>".
+"C<CVS,\\.cvsignore,\\.svn,\\.[oa]\$>".
=back
|