Skip to content

Commit

Permalink
Merge pull request #8265 from rolandwalker/homebrew_remove_metafiles
Browse files Browse the repository at this point in the history
remove metafiles.rb from homebrew-fork
  • Loading branch information
rolandwalker committed Dec 19, 2014
2 parents a778921 + 5ed644d commit f942124
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
15 changes: 0 additions & 15 deletions lib/homebrew-fork/Library/Homebrew/extend/pathname.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'pathname'
require 'mach'
require 'resource'
require 'metafiles'

# we enhance pathname to make our code more readable
class Pathname
Expand Down Expand Up @@ -390,20 +389,6 @@ def write_jar_script target_jar, script_name, java_opts=""
EOS
end

def install_metafiles from=Pathname.pwd
Pathname(from).children.each do |p|
next if p.directory?
next unless Metafiles.copy?(p.basename.to_s)
# Some software symlinks these files (see help2man.rb)
filename = p.resolved_path
# Some software links metafiles together, so by the time we iterate to one of them
# we may have already moved it. libxml2's COPYING and Copyright are affected by this.
next unless filename.exist?
filename.chmod 0644
install(filename)
end
end

def abv
out=''
n=`find #{to_s} -type f ! -name .DS_Store | wc -l`.to_i
Expand Down
19 changes: 0 additions & 19 deletions lib/homebrew-fork/Library/Homebrew/metafiles.rb

This file was deleted.

0 comments on commit f942124

Please sign in to comment.