Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A lib/ subdirectory for more than just templates

  • Loading branch information...
commit a25b06751b3664f60633056eb8c9aa58b2270af1 1 parent 14effdd
@jhs jhs authored
View
0  templates/env.sh.erb → lib/templates/env.sh.erb
File renamed without changes
View
2  tasks/lib.rb
@@ -128,7 +128,7 @@ def install_env_script(opts={})
# XXX: Code duplication from :configure.
dirs['DYLD_LIBRARY_PATH'] = {'insert' => ["#{target}/lib"]} if DISTRO[0] == :osx
- template = ERB.new(File.open("#{HERE}/templates/#{script}.erb").read())
+ template = ERB.new(File.open("#{HERE}/lib/templates/#{script}.erb").read())
FileUtils.mkdir_p(target)
File.open("#{target}/#{script}", 'w') do |outfile|
outfile.write(template.result(binding))
Please sign in to comment.
Something went wrong with that request. Please try again.