Permalink
Browse files

erb trim mode 2

  • Loading branch information...
1 parent 5e12ef9 commit 5ebaee78d9a670a9b9dea6444cb67a93aa2689dd @akiradeveloper committed Apr 16, 2012
Showing with 2 additions and 2 deletions.
  1. +0 −1 .gitconfig
  2. +2 −1 install/erbt/erbt.rb
View
@@ -3,7 +3,6 @@
name = Akira Hayakawa
[github]
user = akiradeveloper
-
<% if ENV['BEHIND_PROXY'] == '1' %>
[core]
gitProxy = git-proxy for github.com
View
@@ -87,7 +87,8 @@ def self.process(f, logger, force=false)
logger.log(f, ERB::Template::Logger::FAILURE, msg)
return
end
- content = `erb #{tf}`
+ # Trim mode 2
+ content = `erb -T 2 #{tf}`
if !force and File.exist?(f)
msg = "the file already exists. never update."
logger.log(f, ERB::Template::Logger::FAILURE, msg)

0 comments on commit 5ebaee7

Please sign in to comment.