Skip to content

Commit

Permalink
I am terrible at rake.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Mar 8, 2012
1 parent c28f204 commit 2cedfbc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,13 @@ namespace :osx do
modules_file = `brew --prefix`.chomp << '/etc/pango/pango.modules'
modules_path = File.open(modules_file) {|f| f.grep(/^# ModulesPath = (.*)$/){$1}.first}
mkdir_p 'dist/pango'
cp_r modules_path, 'dist/pango'
cp `which pango-querymodules`.chomp, 'dist/'
unless File.exists?('dist/pango/modules')
cp_r modules_path, 'dist/pango'
end

unless File.exists?("dist/pango-querymodules")
cp `which pango-querymodules`.chomp, 'dist/'
end
end

task :copy_deps_to_dist => :copy_pango_modules_to_dist do
Expand Down

0 comments on commit 2cedfbc

Please sign in to comment.