Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (24 sloc) 0.804 kb
#!/usr/bin/perl -w
=head1 Name
clone.pl - installation script to copy files for clone distributions
=head1 Description
This script is called by "make clone" to build the tar ball with the
desired name.
=head1 Author
Sam Tregar <stregar@about-inc.com>
=head1 See Also
L<Bric::Admin>
=cut
use strict;
use FindBin;
use lib "$FindBin::Bin/lib";
use Bric::Inst qw(:all);
use File::Spec::Functions qw(:ALL);
our $CLONE;
do "./clone.db" or die "Failed to read clone.db : $!";
print "\n\n==> Creating Cloning Tar Ball <==\n\n";
# build the clone tar file
system(qq(mv dist "bricolage-$CLONE->{NAME}"));
system(qq(tar cvf "bricolage-$CLONE->{NAME}.tar" "bricolage-$CLONE->{NAME}"));
system(qq(gzip --best "bricolage-$CLONE->{NAME}.tar"));
print "\n\n==> Finished Creating Cloning Tar Ball <==\n\n";
Jump to Line
Something went wrong with that request. Please try again.