add-package.pl lib exclude fixed
David Golden [Tue, 16 Jun 2009 07:36:25 +0000 (09:36 +0200)]
Porting/add-package.pl

index c8fe807..d91c3d5 100644 (file)
@@ -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