Skip to content

Commit

Permalink
- use lib* to catch lib, lib64, etc (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Jun 18, 2013
1 parent 0b8c7d6 commit 9952082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/cpan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def input(package)

# Fix any files likely to cause conflicts.
# https://github.com/jordansissel/fpm/issues/443
::Dir.glob(File.join(staging_path, prefix, "lib/perl/*/perllocal.pod")).each do |path|
::Dir.glob(File.join(staging_path, prefix, "lib*/perl/*/perllocal.pod")).each do |path|
@logger.debug("Removing useless file.",
:path => path.gsub(staging_path, ""))
File.unlink(path)
Expand Down

0 comments on commit 9952082

Please sign in to comment.