From: David Golden Date: Tue, 16 Jun 2009 07:36:25 +0000 (+0200) Subject: add-package.pl lib exclude fixed X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=17633433c13dda15b2bbefe0fff88605b4fe7a6e;p=p5sagit%2Fp5-mst-13.2.git add-package.pl lib exclude fixed --- diff --git a/Porting/add-package.pl b/Porting/add-package.pl index c8fe807..d91c3d5 100644 --- a/Porting/add-package.pl +++ b/Porting/add-package.pl @@ -75,8 +75,8 @@ my @LibFiles; @LibFiles = map { chomp; $_ } ### should we get rid of this file? grep { $ExcludeRe && $_ =~ $ExcludeRe - ? do { warn "Removing $_\n"; - system("rm $_") and die "rm '$_' failed: $?"; + ? do { warn "Removing $Repo/$_\n"; + system("rm $Repo/$_") and die "rm '$Repo/$_' failed: $?"; undef } : 1