Skip to content

Commit

Permalink
cheap hacks to try to fix for 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
pjjw committed Feb 2, 2012
1 parent 33174b8 commit ade4aac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/fpm/package.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def render_spec
# find all files in paths given. # find all files in paths given.
paths = [] paths = []
@source.paths.each do |path| @source.paths.each do |path|
Find.find(path) { |p| paths << p } Find.find(path) { |p| paths << p } unless !File.exists?(path)
end end
#@logger.info(:paths => paths.sort) #@logger.info(:paths => paths.sort)
template.result(binding) template.result(binding)
Expand Down
2 changes: 1 addition & 1 deletion lib/fpm/target/rpm.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def render_spec
# find all files in paths given. # find all files in paths given.
paths = [] paths = []
@source.paths.each do |path| @source.paths.each do |path|
Find.find(path) { |p| paths << p } Find.find(path) { |p| paths << p } unless !File.exists?(path)
end end


# Ensure all paths are absolute and don't start with '.' # Ensure all paths are absolute and don't start with '.'
Expand Down

0 comments on commit ade4aac

Please sign in to comment.