#!/bin/perl
# Ondrej Brablc
                                                     
use strict;
 
my $rootcd = $ENV{'MOZDIR'};
my $objdir=`cat ~/.mozconfig.objdir` || die "Cannot get objdir!";
chop $objdir;
 
my $target = $rootcd.'/'.$objdir."/dist/bin/extensions/allpeers\@allpeers.com/chrome/allpeers";
 
open (IN,"jar.mn") || die "There is no jar.mn in this directory!";
while (<IN>)
{
	if (/\s+(\S+)\s+\((.*)\)/)
	{
		system("cp -uv $2 $target/$1");
	}
}
close IN;
 
src/hack/cpjar.txt · Last modified: 2007/03/06 18:15 by jakub
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki